release
This commit is contained in:
parent
cb30395d4d
commit
382c571d42
1 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ test-1.1.3:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG != null'
|
- if: '$CI_COMMIT_TAG =~ /^release-.*$/'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/*
|
- dist/*
|
||||||
|
@ -91,7 +91,7 @@ build:
|
||||||
pypi:
|
pypi:
|
||||||
stage: upload
|
stage: upload
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /^release.-*$/'
|
- if: '$CI_COMMIT_TAG =~ /^release-.*$/'
|
||||||
script:
|
script:
|
||||||
- twine upload dist/*
|
- twine upload dist/*
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ gitlab:
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
stage: upload
|
stage: upload
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /^release.-*$/'
|
- if: '$CI_COMMIT_TAG =~ /^release-.*$/'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- release/*
|
- release/*
|
||||||
|
|
Loading…
Reference in a new issue