release
This commit is contained in:
parent
ae6bd30923
commit
9dd3664d8c
1 changed files with 7 additions and 5 deletions
|
@ -102,14 +102,16 @@ gitlab:
|
||||||
- if: '$CI_COMMIT_TAG != null'
|
- if: '$CI_COMMIT_TAG != null'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/*
|
- release/*
|
||||||
before_script:
|
before_script:
|
||||||
- echo "upload to gitlab"
|
- echo "upload to gitlab"
|
||||||
script:
|
script:
|
||||||
- apk --no-cache add curl
|
- apk --no-cache add curl
|
||||||
- cd dist
|
- cp -r dist release
|
||||||
- find *.tar.gz -type f -exec sha256sum {} \; | sort > sha256sum.lst
|
- cd release
|
||||||
- find *.tar.gz -type f -exec sha512sum {} \; | sort > sha512sum.lst
|
- rm *.whl
|
||||||
|
- find . -type f -exec sha256sum {} \; | sort > sha256sum.lst
|
||||||
|
- find . -type f -exec sha512sum {} \; | sort > sha512sum.lst
|
||||||
- |
|
- |
|
||||||
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
|
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
|
||||||
--assets-link "{\"name\":\"dist\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/python-terraform/-/jobs/${CI_JOB_ID}/artifacts/file/dist\"}" \
|
--assets-link "{\"name\":\"release\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/python-terraform/-/jobs/${CI_JOB_ID}/artifacts/file/release\"}" \
|
||||||
|
|
Loading…
Reference in a new issue