Fix release script to push tags

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-21 11:36:18 +02:00
parent 0fde2264f0
commit d13bbf9340
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -20,7 +20,4 @@ fi
git tag -s -a "$version" -m "$changelog" git tag -s -a "$version" -m "$changelog"
APP_VERSION="${CI_COMMIT_TAG}" git push origin "$version"
APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
release-cli create --name "$CI_COMMIT_TAG" --tag-name "$CI_COMMIT_TAG" --assets-link "{\"name\":\"${APP_ASSET}\",\"url\":\"${PACKAGE_REGISTRY_URL}/${APP_VERSION}/${APP_ASSET}\"}"