Commit 85bfc7fb authored by Sebastian Kehr's avatar Sebastian Kehr 🚣🏼
Browse files

automatic publish composer package

parent 1967ee7b
Pipeline #638 passed with stage
in 14 seconds
packagist:
image: alpine:3.8
image:
name: alpine:3.8
entrypoint: ['/bin/sh', '-c']
script: |
apk add --no-cache curl
/usr/bin/curl --verbose --request POST --header 'content-type:application/json' \
--data '{\"repository\":{\"url\":\"https://git.sc.uni-leipzig.de/ubl/finc/rules-evaluator\"}}' \
https://packagist.org/api/update-package?username=finc&apiToken=$PACKAGIST_API_TOKEN
/usr/bin/curl "https://packagist.org/api/update-package?username=finc&apiToken=$PACKAGIST_API_TOKEN" \
--header 'content-type:application/json' \
--data '{"repository":{"url":"https://git.sc.uni-leipzig.de/ubl/finc/rules-evaluator"}}'
tags: [docker]
only: [/^v/]
except: [branches]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment