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
This commit is contained in:
7
.github/workflows/npm-publish.yml
vendored
7
.github/workflows/npm-publish.yml
vendored
@ -23,13 +23,14 @@ jobs:
|
|||||||
- run: npm install -g npm
|
- run: npm install -g npm
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- run: npm publish --provenance --access public
|
- run: npm publish --provenance --access public --tag alpha
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
- run: |
|
- name: Publish version on GitHub
|
||||||
|
run: |
|
||||||
version=$(jq -r .version package.json)
|
version=$(jq -r .version package.json)
|
||||||
gh release create \
|
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" \
|
--target "$BRANCH_NAME" \
|
||||||
-t "v$version" \
|
-t "v$version" \
|
||||||
"v$version"
|
"v$version"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@elastic/elasticsearch",
|
"name": "@elastic/elasticsearch",
|
||||||
"version": "8.16.0",
|
"version": "9.0.0-alpha.1",
|
||||||
"versionCanary": "8.16.0-canary.0",
|
"versionCanary": "9.0.0-canary.0",
|
||||||
"description": "The official Elasticsearch client for Node.js",
|
"description": "The official Elasticsearch client for Node.js",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user