Skip to content

Commit 3bb5258

Browse files
Push tag after the publishing is successful
1 parent 49e8ba1 commit 3bb5258

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
VERSION=$(node -p "require('./package.json').version")
2929
echo "version=$VERSION" >> $GITHUB_ENV
3030
31-
- name: Create Git tag
32-
run: |
33-
git tag ${{ env.version }}
34-
git push origin ${{ env.version }}
35-
3631
- name: Publish to npm
3732
run: npm publish --access public
3833
env:
3934
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
36+
- name: Create Git tag
37+
run: |
38+
git tag ${{ env.version }}
39+
git push origin ${{ env.version }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "talon-tools",
33
"displayName": "Talon tools",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"description": "Linting and formatting tools for Talon and Cursorless",
66
"author": "Andreas Arvidsson",
77
"publisher": "AndreasArvidsson",

0 commit comments

Comments
 (0)