Browse Source

Fix release script to push tags

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril
Thomas Citharel 1 year ago
parent
commit
d13bbf9340
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 5
      scripts/release.sh

5
scripts/release.sh

@ -20,7 +20,4 @@ fi
git tag -s -a "$version" -m "$changelog"
APP_VERSION="${CI_COMMIT_TAG}"
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}\"}"
git push origin "$version"
Loading…
Cancel
Save