Browse Source

Fix release script to push tags

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
tags/1.2.0-beta.1
Thomas Citharel 1 year ago
parent
commit
d13bbf9340
No known key found for this signature in database GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      scripts/release.sh

+ 1
- 4
scripts/release.sh View File

@@ -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