Skip to content

Commit

Permalink
Bump version to 9.0.0-alpha.1 (#2516)
Browse files Browse the repository at this point in the history
* Bump version to 9.0.0-alpha.1

* Update npm publish workflow for 9.0.0 alpha
  • Loading branch information
JoshMock authored Dec 5, 2024
1 parent 15b9ee2 commit e9c2f8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@elastic/elasticsearch",
"version": "8.16.0",
"versionCanary": "8.16.0-canary.0",
"version": "9.0.0-alpha.1",
"versionCanary": "9.0.0-canary.0",
"description": "The official Elasticsearch client for Node.js",
"main": "./index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit e9c2f8b

Please sign in to comment.