Skip to content

Commit

Permalink
use latest tag for release
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Oct 20, 2023
1 parent bc158d8 commit 6eb48c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./shared/package.json
access: public
tag: ${{ env.REF }}
tag: ${{ env.REF == 'release' && 'latest' || env.REF }}
client:
name: Publish client
runs-on: ubuntu-latest
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./client/package.json
access: public
tag: ${{ env.REF }}
tag: ${{ env.REF == 'release' && 'latest' || env.REF }}
webview:
name: Publish webview
runs-on: ubuntu-latest
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./webview/package.json
access: public
tag: ${{ env.REF }}
tag: ${{ env.REF == 'release' && 'latest' || env.REF }}
worker:
name: Publish worker
runs-on: ubuntu-latest
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./worker/package.json
access: public
tag: ${{ env.REF }}
tag: ${{ env.REF == 'release' && 'latest' || env.REF }}
natives:
name: Publish natives
runs-on: ubuntu-latest
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./natives/package.json
access: public
tag: ${{ env.REF }}
tag: ${{ env.REF == 'release' && 'latest' || env.REF }}
server:
name: Publish server
runs-on: ubuntu-latest
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./server/package.json
access: public
tag: ${{ env.REF }}
tag: ${{ env.REF == 'release' && 'latest' || env.REF }}
test:
name: Test changes
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6eb48c7

Please sign in to comment.