Skip to content

Commit 7afb0c3

Browse files
authored
chore: push tags when release (#244)
1 parent fe48602 commit 7afb0c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,15 @@ jobs:
9595

9696
- name: Move binaries
9797
uses: ./.github/actions/move-artifacts
98-
9998
- name: Publish npm packages
10099
if: ${{ inputs.dry_run == false }}
101-
env:
102-
NPM_TOKEN: ${{ secrets.RSLINT_NPM_TOKEN }}
103100
run: |
104101
pnpm -r publish --no-git-checks --tag ${{ github.event.inputs.npm_tag }} --publish-branch ${{ github.event.inputs.branch }}
102+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
103+
git config --global user.name "github-actions"
104+
echo git tag v$(jq -r .version package.json)
105+
git tag v$(jq -r .version package.json)
106+
git push origin --follow-tags
105107
106108
publish-extension-vscode:
107109
if: ${{ inputs.to_release == 'all' || inputs.to_release == 'extension' }}

0 commit comments

Comments
 (0)