From be1cb17048b0fb3b3ffaeb5db2907c041050b23a Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 30 Apr 2019 16:05:42 +0200 Subject: [PATCH] test release again --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6dd13a0..1eea17d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,15 +30,13 @@ release: - docker dependencies: - build - only: - - master variables: GIT_STRATEGY: none script: - curl --request POST --header "PRIVATE-TOKEN:$CI_JOB_TOKEN" \ - --data name="awesume-v0.2.iso" \ - --data url="https://home.hottis.de" \ - "https://gitlab.com/api/v4/projects/10877064/releases/v0.1/assets/links" + --header "Content-Type:application/json" \ + --data-raw '{ "name": "New release", "tag_name": "v0.4", "ref":"$CI_COMMIT_SHA", "description": "Super nice release", "assets": { "links": [ { "name": "hoge", "url": "https://google.com" } ] } }' \ + "https://gitlab.com/api/v4/projects/10877064/releases"