From 632b475e7c0e1030d47c995c51dd8604cc844c5b Mon Sep 17 00:00:00 2001 From: Quentin MACHU Date: Wed, 30 Aug 2017 19:32:30 -0700 Subject: [PATCH] installer/scripts/release/make_github_release.sh: add name to the release Avoids having a unreadable name for the release, forcing the release manager to modify it after the fact --- installer/scripts/release/make_github_release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/scripts/release/make_github_release.sh b/installer/scripts/release/make_github_release.sh index 0ab564cb14..e315872951 100755 --- a/installer/scripts/release/make_github_release.sh +++ b/installer/scripts/release/make_github_release.sh @@ -13,10 +13,10 @@ source "$DIR/common.env.sh" GITHUB_API_URL="https://api.github.com/repos/coreos/tectonic-installer/releases" # shellcheck disable=SC2028 -echo "Creating new release on GitHub ${#GITHUB_CREDENTIALS} \n\n {\"tag_name\":\"$VERSION\",\"prerelease\":$PRE_RELEASE,\"body\":\"Release tarball is available at $TECTONIC_RELEASE_TARBALL_URL.\"}" +echo "Creating new release on GitHub ${#GITHUB_CREDENTIALS} \n\n {\"tag_name\":\"$VERSION\", \"name\": \"$VERSION\", \"prerelease\":$PRE_RELEASE,\"body\":\"Release tarball is available at $TECTONIC_RELEASE_TARBALL_URL.\"}" curl \ --fail \ -u "$GITHUB_CREDENTIALS" \ -H "Content-Type: application/json" \ - -d "{\"tag_name\":\"$VERSION\",\"prerelease\":$PRE_RELEASE,\"body\":\"Release tarball is available at $TECTONIC_RELEASE_TARBALL_URL.\"}" \ + -d "{\"tag_name\":\"$VERSION\",\"name\": \"$VERSION\",\"prerelease\":$PRE_RELEASE,\"body\":\"Release tarball is available at $TECTONIC_RELEASE_TARBALL_URL.\"}" \ $GITHUB_API_URL