Skip to content

Commit 3610097

Browse files
committed
ci(release): Modify release script to graduate rc versions [ci skip]
1 parent 3df2d5e commit 3610097

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

scripts/ci/release.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,15 @@ yarn test
1616

1717
# trigger lerna release and create new storybook
1818
./node_modules/.bin/lerna version \
19-
--conventional-commits \
20-
--exact \
21-
--github-release \
22-
--no-push \
23-
--yes
19+
--conventional-graduate \
20+
--force-publish
2421

22+
# These steps are only required in case we don't a user with admin privileges
2523
# get the new version number
26-
RELEASE_VERSION=$(node -p "require('./lerna.json').version")
24+
#RELEASE_VERSION=$(node -p "require('./lerna.json').version")
2725
# get the new version number
28-
git checkout -b releases/${RELEASE_VERSION}
29-
git push --set-upstream origin releases/${RELEASE_VERSION}
26+
#git checkout -b releases/${RELEASE_VERSION}
27+
#git push --set-upstream origin releases/${RELEASE_VERSION}
3028

3129
# build the project with the new version after lerna version
3230
yarn build

0 commit comments

Comments
 (0)