Skip to content
Snippets Groups Projects
Commit 71567736 authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => Delete the tag before recreate it

parent 954b6209
No related branches found
No related tags found
No related merge requests found
Pipeline #38883 passed
......@@ -211,6 +211,10 @@
curl --header "Content-Type: application/json" \
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
--request DELETE "${GITLAB_API_PROJECT_URL}/releases/${tag_name}"
- >
curl --header "Content-Type: application/json" \
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
--request DELETE "${GITLAB_API_PROJECT_URL}/repository/tags/${tag_name}"
- >
curl --data "${RELEASE_DATA}" \
--header "Content-Type: application/json" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment