Skip to content

Commit f80de0a

Browse files
committed
f
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent bf203f0 commit f80de0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ jobs:
6464
- name: bump VERSION
6565
id: bump
6666
run: |
67-
set -ex
67+
set -eux
6868
git config user.name 'release bot'
6969
git config user.email '[email protected]'
70-
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE\n\nSigned-off-by: $(git config user.name) <$(git config user.email)> " --preid "$NPMV_PREID")"
70+
COMMIT_SIG="Signed-off-by: $(git config user.name) <$(git config user.email)>"
71+
VERSION="$( npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE\n\n$COMMIT_SIG" --preid "$NPMV_PREID" )"
7172
echo "::debug::new version = $VERSION"
7273
VERSION_PLAIN="${VERSION:1}" # remove 'v' prefix
7374
echo "::debug::plain version = $VERSION_PLAIN"

0 commit comments

Comments
 (0)