Skip to content

Commit

Permalink
Update create_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shalithasuranga authored Jan 20, 2023
1 parent b28f37d commit 2fe7fd9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ jobs:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: '@neutralinojs'

- name: Install dependencies
run: npm ci

- name: Publish to NPM Registry
run: |
vprefix=nightly-$(date +"%Y%m%d")
npm version prerelease --preid=$vprefix --commit-hooks=false --git-tag-version=false
npm run build
npm publish --access=public --tag nightly
npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit 2fe7fd9

Please sign in to comment.