Skip to content
Snippets Groups Projects
Unverified Commit afd7390c authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

test release already exists

parent 5e8f45e5
No related branches found
No related tags found
No related merge requests found
...@@ -34,12 +34,10 @@ release_job: ...@@ -34,12 +34,10 @@ release_job:
- echo "Running the release job for $VERSION from commit $CI_COMMIT_SHA" - echo "Running the release job for $VERSION from commit $CI_COMMIT_SHA"
- curl --location --output release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64" - curl --location --output release-cli "https://gitlab.com/api/v4/projects/gitlab-org%2Frelease-cli/packages/generic/release-cli/latest/release-cli-linux-amd64"
- chmod +x release-cli - chmod +x release-cli
- ./release-cli -v
- echo $CI_JOB_TOKEN
- ./release-cli create --description "Release $VERSION" --tag-name "$VERSION" --ref "$CI_COMMIT_SHA" --assets-link "{\"url\":\"https://labs.etsi.org/rep/api/v4/projects/28/packages/maven/fr/mines-stetienne/ci/saref/saref-pipeline/$VERSION/saref-pipeline-$VERSION.jar\",\"name\":\"saref-pipeline.jar\"}" - ./release-cli create --description "Release $VERSION" --tag-name "$VERSION" --ref "$CI_COMMIT_SHA" --assets-link "{\"url\":\"https://labs.etsi.org/rep/api/v4/projects/28/packages/maven/fr/mines-stetienne/ci/saref/saref-pipeline/$VERSION/saref-pipeline-$VERSION.jar\",\"name\":\"saref-pipeline.jar\"}"
# release: # release:
# tag_name: '$VERSION' # tag_name: '$VERSION'
# description: '$CI_COMMIT_TAG_MESSAGE' # description: 'Release $VERSION'
# ref: '$CI_COMMIT_SHA' # ref: '$CI_COMMIT_SHA'
# assets: # assets:
# links: # links:
......
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