ci: Create Version labels within repo on release

!42
This commit is contained in:
2024-07-19 17:41:18 +09:30
parent 0798a672c2
commit 9ea4fe1adc
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
# Create Version label wtihn repo
curl \
--data "name=v${$RELEASE_TAG}&color=#eee600&description=Version%20that%20is%20affected" \
--header "PRIVATE-TOKEN: $GIT_COMMIT_TOKEN" \
"https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/labels"