File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616release-publish :
1717 image :
18- name : git.corellium.co:5050/corellium/ci/docker/nodejs:18
18+ name : git.corellium.co:5050/corellium/ci/docker/nodejs:22
1919 pull_policy : [always, if-not-present]
2020 stage : publish
2121 before_script :
@@ -42,6 +42,7 @@ release-publish:
4242 - git push git@github.com:corellium/corellium-api.git HEAD:master
4343 - git push git@github.com:corellium/corellium-api.git "refs/tags/${CI_COMMIT_TAG}"
4444 - jq . package.json
45+ - nvm use 18
4546 - npm publish
4647 rules :
4748 - if : ' $CI_COMMIT_TAG =~ /^v/'
@@ -67,6 +68,7 @@ local-publish:
6768 - jq ".version = \"${PKG_VERSION}\"" package.json > temp.json
6869 - mv temp.json package.json
6970 - jq . package.json
71+ - nvm use 18
7072 - npm publish
7173 only :
7274 - tags
Original file line number Diff line number Diff line change @@ -14,12 +14,15 @@ npm install @corellium/corellium-api
1414### Publishing
1515To publish the corellium-api npm package to the GitLab registry, create a tag with the format
1616```
17- v#.#.#
17+ git tag -a v#.#.# -m "v#.#.#"
18+ git push origin v#.#.#
1819```
1920
2021To publish to the official Corellium npm registry, create a tag with the format
2122```
22- release/v#.#.#
23+ git tag -a release/v#.#.# -m "v#.#.#"
24+ git push origin release/v#.#.#
25+
2326```
2427This will publish the package in the GitLab registry, the npm registry, as well as create a release in the mirrored GitHub repository
2528
You can’t perform that action at this time.
0 commit comments