Skip to content

Commit e5620fe

Browse files
committed
ci: add latest release publishing
1 parent a282c38 commit e5620fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,10 @@ jobs:
4040
npm dist-tags add @barelyhuman/node-snapshot@${{ steps.get-package-version.outputs.version }} beta
4141
env:
4242
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
44+
- name: Tag Release
45+
if: ${{ !contains(steps.get-package-version.outputs.version, '-beta') }}
46+
run: |
47+
npm dist-tags add @barelyhuman/node-snapshot@${{ steps.get-package-version.outputs.version }} latest
48+
env:
49+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)