Skip to content

Commit 7793e40

Browse files
committed
Move sign git tag to version command
1 parent 8b4bf8d commit 7793e40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/version.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
git remote set-url --push origin "https://${GH_USER}:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
3131
git config user.name "$GIT_USER_NAME"
3232
git config user.email "$GIT_USER_EMAIL"
33-
npm config set sign-git-tag true
3433
- name: Import GPG key
3534
uses: crazy-max/ghaction-import-gpg@v4
3635
with:
@@ -43,4 +42,4 @@ jobs:
4342
- name: Setup
4443
uses: ./.github/actions/setup
4544
- name: Cut ${{ github.event.inputs.version }}${{ github.event.client_payload.version }} version
46-
run: npm version ${{ github.event.inputs.version }}${{ github.event.client_payload.version }}
45+
run: npm version --sign-git-tag=true ${{ github.event.inputs.version }}${{ github.event.client_payload.version }}

0 commit comments

Comments
 (0)