Skip to content

Commit e9c2f8b

Browse files
authored
Bump version to 9.0.0-alpha.1 (#2516)
* Bump version to 9.0.0-alpha.1 * Update npm publish workflow for 9.0.0 alpha
1 parent 15b9ee2 commit e9c2f8b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/npm-publish.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
- run: npm install -g npm
2424
- run: npm install
2525
- run: npm test
26-
- run: npm publish --provenance --access public
26+
- run: npm publish --provenance --access public --tag alpha
2727
env:
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29-
- run: |
29+
- name: Publish version on GitHub
30+
run: |
3031
version=$(jq -r .version package.json)
3132
gh release create \
32-
-n "[Changelog](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/$BRANCH_NAME/changelog-client.html)" \
33+
-n "This is a 9.0.0 pre-release alpha. Changes may not be stable." \
3334
--target "$BRANCH_NAME" \
3435
-t "v$version" \
3536
"v$version"

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@elastic/elasticsearch",
3-
"version": "8.16.0",
4-
"versionCanary": "8.16.0-canary.0",
3+
"version": "9.0.0-alpha.1",
4+
"versionCanary": "9.0.0-canary.0",
55
"description": "The official Elasticsearch client for Node.js",
66
"main": "./index.js",
77
"types": "index.d.ts",

0 commit comments

Comments
 (0)