From d9772e7f8a1584314335cc0996fcf795f65ccee2 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 11 Jun 2019 11:06:04 +0200 Subject: [PATCH] try add release --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5027d9f..1c22ee1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,15 @@ image: golang:latest -default-job: +build: script: - make dependencies: [] except: - tags -release-job: +release: script: - make + - curl -H "PRIVATE-TOKEN: $CI_BUILD_TOKEN" "https://$CI_API_V4_URL/$CI_PROJECT_ID/releases" artifacts: paths: - dist/*.tar.gz