Skip to content
Snippets Groups Projects
Commit 4fab305c authored by BRONES Romain's avatar BRONES Romain
Browse files

feat: Add relase on tag

* Also rename artifacts
parent 1de679c4
No related branches found
No related tags found
No related merge requests found
Pipeline #3258 failed
image: python:latest
stages: # List of stages for jobs, and their order of execution
- build
# Default stages
# .pre
# build
# test
# deploy
# .post
build-job: # This job runs in the build stage, which runs first.
stage: build
......@@ -11,5 +14,19 @@ build-job: # This job runs in the build stage, which runs first.
- make build
- echo "Compile complete."
artifacts:
names: "FofbTool"
paths:
- dist/
release_job:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created manually
script:
- echo "Running the release job."
release:
tag_name: $CI_COMMIT_TAG
name: 'Release $CI_COMMIT_TAG'
description: 'Release created using the release-cli.'
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