mirror of
https://github.com/Newnetirc/thelounge-theme-newnet.git
synced 2026-01-24 07:30:19 +00:00
Fix action
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -21,9 +21,7 @@ jobs:
|
||||
|
||||
- name: Publish latest
|
||||
if: "!contains(github.ref, '-')"
|
||||
run:
|
||||
- npm publish --tag latest --dry-run
|
||||
- npm dist-tag rm thelounge-theme-solarized next || true
|
||||
run: npm publish --tag latest --dry-run
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
|
||||
@@ -32,3 +30,9 @@ jobs:
|
||||
run: npm publish --tag next --dry-run
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
|
||||
- name: Remove next tag
|
||||
if: "!contains(github.ref, '-')"
|
||||
run: npm dist-tag rm thelounge-theme-solarized next || true
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user