File tree 1 file changed +3
-19
lines changed
1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -16,31 +16,15 @@ yarn install --mutex network
16
16
# run tests
17
17
yarn test
18
18
19
- # trigger lerna release and create new storybook
20
- ./node_modules/.bin/lerna version --conventional-graduate
21
-
22
- # These steps are only required in case we don't a user with admin privileges
23
- # get the new version number
24
- # RELEASE_VERSION=$(node -p "require('./lerna.json').version")
25
- # get the new version number
26
- # git checkout -b releases/${RELEASE_VERSION}
27
- # git push --set-upstream origin releases/${RELEASE_VERSION}
28
-
29
19
# build the project with the new version after lerna version
30
20
yarn build
31
- # reset potential changes in sizes
32
- git checkout scripts/rollup/results.json
33
-
34
- # if we came to that point we are ready for publish
35
21
36
22
# create npmrc with auth
37
23
bash ${WORKSPACE} /scripts/ci/setup-npm.sh
38
24
39
- # now start publishing each package
40
- cd ${WORKSPACE} /build/node_modules/charts && npm publish --access public
41
- cd ${WORKSPACE} /build/node_modules/main && npm publish --access public
42
- cd ${WORKSPACE} /build/node_modules/base && npm publish --access public
43
-
25
+ # trigger lerna release and create new storybook
26
+ ${WORKSPACE} /node_modules/.bin/lerna publish --conventional-graduate \
27
+ --create-release github
44
28
45
29
# all packages are now released, clear npm-session
46
30
rm ~ /.npmrc
You can’t perform that action at this time.
0 commit comments