Skip to content

Commit bd2c970

Browse files
committed
chore: releases get signed-off
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent cc2c144 commit bd2c970

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Configure Git
4949
# needed for push back of changes
5050
run: |
51-
set -ex
51+
set -eux
5252
git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com"
5353
git config --local user.name "${GITHUB_ACTOR}"
5454
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
@@ -59,8 +59,9 @@ jobs:
5959
- name: bump VERSION
6060
id: bump
6161
run: |
62-
set -ex
63-
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE" --preid "$NPMV_PREID")"
62+
set -eux
63+
COMMIT_SIG="Signed-off-by: $(git config user.name) <$(git config user.email)>"
64+
VERSION="$(npm version "$NPMV_NEWVERSION" --message "$NPMV_MESSAGE"$'\n\n'"$COMMIT_SIG" --preid "$NPMV_PREID")"
6465
echo "::debug::new version = $VERSION"
6566
VERSION_PLAIN="${VERSION:1}" # remove 'v' prefix
6667
echo "::debug::plain version = $VERSION_PLAIN"

0 commit comments

Comments
 (0)