Skip to content

Commit

Permalink
Merge branch 'RESTAPI-fix-commit-id-on-deployment' into 'master'
Browse files Browse the repository at this point in the history
fixed pipeline on deployment

See merge request firecrest/firecrest!295
  • Loading branch information
Juan Pablo Dorsch committed Apr 12, 2024
2 parents 2e9c177 + a1b7734 commit 8529044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ tag_release:
echo "Trying to create tag $code_tag"
res_post=$(curl -s -w "%{http_code}" --request POST --header "PRIVATE-TOKEN: ${GITLAB_ACCESS_TOKEN}" "${CI_SERVER_URL}/api/v4/projects/${CI_PROJECT_ID}/repository/tags?tag_name=${code_tag}&ref=tmp-${CI_COMMIT_SHORT_SHA}-${CI_PIPELINE_ID}")
res_post=$(curl -s -w "%{http_code}" --request POST --header "PRIVATE-TOKEN: ${GITLAB_ACCESS_TOKEN}" "${CI_SERVER_URL}/api/v4/projects/${CI_PROJECT_ID}/repository/tags?tag_name=${code_tag}&ref=${CI_COMMIT_SHORT_SHA}")
status_post=$(printf "%s" "$res_post" | tail -c 3)
echo "Status of creating tag $code_tag: $status_post"
Expand Down

0 comments on commit 8529044

Please sign in to comment.