v1.2.0: release: first script for release on gitlab

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2024-03-21 13:59:37 +01:00
commit b3c850eb7b
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
3 changed files with 81 additions and 1 deletions

View file

@ -43,4 +43,16 @@ release_tag:
needs:
- build
only:
- tags
- tags
release_job:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
before_script:
- apk update && apk add --no-cache bash curl
script:
- bash ./scripts/gitlab_release.sh -r ./docs/release/$CI_COMMIT_TAG* -a ./bin/
needs:
- build