Skip to content
Snippets Groups Projects

Draft: Debugging for the release job

Open Sally Young requested to merge justafish/fix-release-ci into 1.0.x
1 file
+ 5
4
Compare changes
  • Side-by-side
  • Inline
+ 5
4
@@ -58,7 +58,8 @@ retire-js-dependency_scanning:
release:
stage: release
rules:
- if: '$CI_COMMIT_TAG =~ /^v/'
#- if: '$CI_COMMIT_TAG =~ /^v/'
- if: $CI_MERGE_REQUEST_IID
variables:
# Necessary for `yarn version` to work.
# @see https://yarnpkg.com/features/release-workflow/#commit-history
@@ -68,9 +69,9 @@ release:
script:
- apk add git
- yarn config set npmRegistryServer 'https://registry.npmjs.org/'
- yarn config set npmAuthToken '${NPM_ACCESS_TOKEN}'
- yarn install --skip-builds
#- yarn config set npmAuthToken '${NPM_ACCESS_TOKEN}'
- yarn install --immutable --immutable-cache --check-cache
- yarn docs > README.md
- yarn version $(echo ${CI_COMMIT_TAG} | cut -c2-) --immediate
- yarn build
- yarn npm publish --access public
#- yarn npm publish --access public
Loading