Skip to content

Commit

Permalink
chore: releases get signed-off
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 2b6c990 commit 036e684
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ jobs:
- name: bump VERSION
id: bump
run: |
set -ex
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE" --preid "$NPMV_PREID")"
set -eux
git config user.name 'release bot'
git config user.email 'release@bot.local'
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 036e684

Please sign in to comment.