Skip to content

Commit

Permalink
Update npm publish workflow for 9.0.0 alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock committed Dec 5, 2024
1 parent b8f1514 commit 033363e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
- run: npm install -g npm
- run: npm install
- run: npm test
- run: npm publish --provenance --access public
- run: npm publish --provenance --access public --tag alpha
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: |
- name: Publish version on GitHub
run: |
version=$(jq -r .version package.json)
gh release create \
-n "[Changelog](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/$BRANCH_NAME/changelog-client.html)" \
-n "This is a 9.0.0 pre-release alpha. Changes may not be stable." \
--target "$BRANCH_NAME" \
-t "v$version" \
"v$version"
Expand Down

0 comments on commit 033363e

Please sign in to comment.