try add release
This commit is contained in:
parent
2120c03ffe
commit
d9772e7f8a
@ -1,14 +1,15 @@
|
|||||||
image: golang:latest
|
image: golang:latest
|
||||||
default-job:
|
build:
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
dependencies: []
|
dependencies: []
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
release-job:
|
release:
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
|
- curl -H "PRIVATE-TOKEN: $CI_BUILD_TOKEN" "https://$CI_API_V4_URL/$CI_PROJECT_ID/releases"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/*.tar.gz
|
- dist/*.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user