Last active
January 22, 2020 12:48
-
-
Save rodrigosiviero/ebe91babab9d56b100fd95f83f5292af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create_release: | |
| stage: deploy | |
| image: docker:latest | |
| tags: | |
| - docker_runner | |
| script: | |
| - curl --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS" --data '{ "name": "New release", "tag_name": "v0.3", "description": "Super nice release", "milestones": ["v1.0", "v1.0-rc"], "assets": { "links": [{ "name": "hoge", "url": "https://google.com" }] }}' --request POST https://gitlab.example.com/api/v4/projects/24/releases | |
| only: | |
| - master | |
| - merge_request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment