chore(gitlab-ci): separate release-test command and tags
This commit is contained in:
parent
904f07a0b6
commit
1254e95fce
@ -239,7 +239,7 @@ container:
|
||||
retry: 2
|
||||
interruptible: true
|
||||
rules: &release-rules
|
||||
- if: $CI_COMMIT_TAG =~ /^v/ && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
- if: $CI_COMMIT_TAG =~ /^v/
|
||||
test container:
|
||||
stage: container:build
|
||||
script:
|
||||
@ -268,7 +268,7 @@ test container:
|
||||
retry: 2
|
||||
interruptible: true
|
||||
rules: &test-release-rules
|
||||
- if: $CI_COMMIT_TAG =~ /^v/ && $CI_COMMIT_BRANCH == "test"
|
||||
- if: $CI_COMMIT_TAG =~ /^t/
|
||||
|
||||
parse changelog:
|
||||
stage: prepare release
|
||||
@ -376,7 +376,7 @@ test release:
|
||||
- echo "Will create test release ${VERSION}..."
|
||||
release:
|
||||
name: "${VERSION}-test"
|
||||
tag_name: "${CI_COMMIT_TAG}-test"
|
||||
tag_name: '$CI_COMMIT_TAG'
|
||||
description: .current-changelog.md
|
||||
needs:
|
||||
- job: check # sanity
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
"i18n:test": "./missing-translations.sh",
|
||||
"prerelease": "./is-clean.sh && npm run test",
|
||||
"release": "standard-version -a",
|
||||
"release-test": "standard-version -a -t t",
|
||||
"postrelease": "git push --follow-tags origin master",
|
||||
"parse-changelog": "changelog-parser ./CHANGELOG.md > changelog.json"
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user