mirror of
https://github.com/Newnetirc/thelounge-theme-newnet.git
synced 2026-01-23 23:20:18 +00:00
Simplify release workflow
This commit is contained in:
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@@ -21,20 +21,7 @@ jobs:
|
||||
- name: Install
|
||||
run: yarn --frozen-lockfile --non-interactive
|
||||
|
||||
- name: Publish latest
|
||||
if: "!contains(github.ref, '-')"
|
||||
run: npm publish --tag latest
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
|
||||
- name: Publish next
|
||||
if: contains(github.ref, '-')
|
||||
run: npm publish --tag next
|
||||
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
|
||||
- name: Publish
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user