+2
-2
@@ -50,11 +50,11 @@ steps:
|
|||||||
VERSION: 1.${DRONE_BUILD_NUMBER}.0
|
VERSION: 1.${DRONE_BUILD_NUMBER}.0
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl
|
- apk add --no-cache curl
|
||||||
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/libraries.git
|
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/components.git
|
||||||
- git tag $VERSION
|
- git tag $VERSION
|
||||||
- git push origin $VERSION
|
- git push origin $VERSION
|
||||||
- |
|
- |
|
||||||
curl -X POST "https://gitea.khongisa.co.za/api/v1/repos/litecharms/libraries/releases" \
|
curl -X POST "https://gitea.khongisa.co.za/api/v1/repos/litecharms/components/releases" \
|
||||||
-H "Authorization: token $${GITEA_TOKEN}" \
|
-H "Authorization: token $${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
|
|||||||
Reference in New Issue
Block a user