chore(release): separate version from build (#3441)
This commit is contained in:
1 parent
828690cd3b
commit
008fa5b715
5 files changed
+155
-112
No files matched your search
+15
-2
@@ -157,6 +157,9 @@ jobs:
|
||||
- ~/.cache ## Cache yarn and Cypress
|
||||
key: yarn-packages-{{ checksum "yarn.lock" }}
|
||||
# Build & Test
|
||||
- run:
|
||||
name: 'Perform the versioning before build'
|
||||
command: node ../version.mjs
|
||||
- run:
|
||||
name: 'Build the OHIF Viewer'
|
||||
command: yarn run build
|
||||
@@ -273,8 +276,18 @@ jobs:
|
||||
name: Authenticate with NPM registry
|
||||
command:
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
|
||||
- run: yarn run build:package-all
|
||||
- run: yarn run lerna:customVersion
|
||||
- run:
|
||||
name: Increase the event emitter limit
|
||||
command: |
|
||||
node ../increaseEventEmitterLimit.mjs
|
||||
- run:
|
||||
name: build all packages
|
||||
command: |
|
||||
yarn run build:package-all
|
||||
- run:
|
||||
name: version and publish all packages
|
||||
command: |
|
||||
node ../publish.mjs
|
||||
|
||||
DOCKER_RELEASE_PUBLISH:
|
||||
<<: *defaults
|
||||
|
||||
Reference in new issue
Block a user