File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments