Skip to content
Snippets Groups Projects
Commit 58aa8a3c authored by schnarkus's avatar schnarkus
Browse files

tag main as stable

parent 94f36703
No related branches found
No related tags found
No related merge requests found
Pipeline #59209 failed
......@@ -6,10 +6,13 @@ workflow:
- when: never
variables:
version: 0.0.$CI_PIPELINE_IID
stable_branch: main
release_tag_prefix: v
stages:
- test
- build
- publish
- tag
test_job:
stage: test
image: public.ecr.aws/docker/library/golang:1.21
......@@ -50,3 +53,10 @@ publish_job:
--upload-file "./$file" \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/artifacts/${version}/$file"
done
job_tag_stable_branch:
stage: tag
only:
- main
script:
- git tag "$release_tag_prefix$version"
- git push origin "$release_tag_prefix$version"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment