Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed May 23, 2024
1 parent bf203f0 commit f80de0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ jobs:
- name: bump VERSION
id: bump
run: |
set -ex
set -eux
git config user.name 'release bot'
git config user.email 'release@bot.local'
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE\n\nSigned-off-by: $(git config user.name) <$(git config user.email)> " --preid "$NPMV_PREID")"
COMMIT_SIG="Signed-off-by: $(git config user.name) <$(git config user.email)>"
VERSION="$( npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE\n\n$COMMIT_SIG" --preid "$NPMV_PREID" )"
echo "::debug::new version = $VERSION"
VERSION_PLAIN="${VERSION:1}" # remove 'v' prefix
echo "::debug::plain version = $VERSION_PLAIN"
Expand Down

0 comments on commit f80de0a

Please sign in to comment.