Skip to content

Commit 892b026

Browse files
committed
chore: releases get signed-off
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 913c22c commit 892b026

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@ jobs:
6464
- name: bump VERSION
6565
id: bump
6666
run: |
67-
set -ex
68-
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE" --preid "$NPMV_PREID")"
67+
set -eux
68+
git config user.name 'release bot'
69+
git config user.email '[email protected]'
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")"
6972
echo "::debug::new version = $VERSION"
7073
VERSION_PLAIN="${VERSION:1}" # remove 'v' prefix
7174
echo "::debug::plain version = $VERSION_PLAIN"

0 commit comments

Comments
 (0)