Skip to content
Snippets Groups Projects
Commit 592a529a authored by Alex ORLUC's avatar Alex ORLUC
Browse files

update new_tag script

parent a91d7e8f
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ if [ -z $IS_TMA ]; then ...@@ -37,7 +37,7 @@ if [ -z $IS_TMA ]; then
echo "previoustag:$previous_tag" echo "previoustag:$previous_tag"
for row in $(curl --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/$CI_PROJECT_ID/milestones?title=$previous_tag" | jq -r '.[] | @base64'); do for row in $(curl --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/$CI_PROJECT_ID/milestones?search=$previous_tag" | jq -r '.[] | @base64'); do
_jq() { _jq() {
echo ${row} | base64 --decode | jq -r ${1} echo ${row} | base64 --decode | jq -r ${1}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment