Created
December 1, 2020 16:15
-
-
Save devkinetic/bf354629e7688a69ae8c7d7092289318 to your computer and use it in GitHub Desktop.
Publish tagged release to Gitlab CI for Composer
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
stages: | |
- deploy | |
deploy: | |
only: | |
- tags | |
stage: deploy | |
script: | |
- 'curl --header "Job-Token: $CI_JOB_TOKEN" --data tag=$CI_COMMIT_TAG "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/packages/composer"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment