Commit 15697874 authored by Jonas Jasas's avatar Jonas Jasas

Release 1

parent 01f5e6cd
Pipeline #95848489 passed with stages
in 4 minutes and 17 seconds
......@@ -39,7 +39,6 @@ build:download:
only:
- tags
# - /v.*/
- /v\d*/
artifacts:
......@@ -79,7 +78,7 @@ build:download:
- export DESCRIPTION=`echo $CI_COMMIT_MESSAGE | tr '\n' ' '`
- >
curl -v --header "Content-Type: application/json" --header "PRIVATE-TOKEN: $API_TOKEN"
--data '{ "name": "'"Release $CI_COMMIT_TAG"'", "tag_name": "'"$CI_COMMIT_TAG"'", "description": "'"$DESCRIPTION"'", "assets": { "links": [{ "name": "Download standalone binaries (Linux, Mac, Windows)", "url": "https://gitlab.com/jonas.jasas/httprelay/-/jobs/'"$CI_JOB_ID"'/artifacts/browse/download" }] } }'
--data '{ "name": "'"$CI_COMMIT_TAG"'", "tag_name": "'"$CI_COMMIT_TAG"'", "description": "'"$DESCRIPTION"'", "assets": { "links": [{ "name": "Download standalone binaries (Linux, Mac, Windows)", "url": "https://gitlab.com/jonas.jasas/httprelay/-/jobs/'"$CI_JOB_ID"'/artifacts/browse/download" }] } }'
https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/releases
build:docker:img:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment