File tree Expand file tree Collapse file tree 5 files changed +29
-5
lines changed
Expand file tree Collapse file tree 5 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 11{
2- "." : " 6.0.0-beta.2 "
2+ "." : " 6.0.0-beta.3 "
33}
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 6.0.0-beta.3 (2024-07-31)
4+
5+ Full Changelog: [ v6.0.0-beta.2...v6.0.0-beta.3] ( https://github.com/intercom/intercom-node/compare/v6.0.0-beta.2...v6.0.0-beta.3 )
6+
7+ ### Chores
8+
9+ * ** ci:** correctly tag pre-release npm packages ([ #437 ] ( https://github.com/intercom/intercom-node/issues/437 ) ) ([ 0553b28] ( https://github.com/intercom/intercom-node/commit/0553b28bc795f640167eb9592f855ea4cab5792d ) )
10+
311## 6.0.0-beta.2 (2024-07-30)
412
513Full Changelog: [ v6.0.0-beta.1...v6.0.0-beta.2] ( https://github.com/intercom/intercom-node/compare/v6.0.0-beta.1...v6.0.0-beta.2 )
Original file line number Diff line number Diff line change 22
33set -eux
44
5- npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
5+ npm config set ' //registry.npmjs.org/:_authToken' " $NPM_TOKEN "
66
7+ # Build the project
78yarn build
9+
10+ # Navigate to the dist directory
811cd dist
9- yarn publish --access public
12+
13+ # Get the version from package.json
14+ VERSION=" $( node -p " require('./package.json').version" ) "
15+
16+ # Extract the pre-release tag if it exists
17+ if [[ " $VERSION " =~ -([a-zA-Z]+) ]]; then
18+ # Extract the part before any dot in the pre-release identifier
19+ TAG=" ${BASH_REMATCH[1]} "
20+ else
21+ TAG=" latest"
22+ fi
23+
24+ # Publish with the appropriate tag
25+ yarn publish --access public --tag " $TAG "
Original file line number Diff line number Diff line change 11{
22 "name" : " intercom-client" ,
3- "version" : " 6.0.0-beta.2 " ,
3+ "version" : " 6.0.0-beta.3 " ,
44 "description" : " The official TypeScript library for the Intercom API" ,
55 "author" : " Intercom <dev-feedback@intercom.com>" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change 1- export const VERSION = '6.0.0-beta.2 ' ; // x-release-please-version
1+ export const VERSION = '6.0.0-beta.3 ' ; // x-release-please-version
You can’t perform that action at this time.
0 commit comments