Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
installer/scripts/release/make_github_release.sh: add name to the rel…
Browse files Browse the repository at this point in the history
…ease

Avoids having a unreadable name for the release, forcing the release manager to modify it after the fact
  • Loading branch information
Quentin-M committed Aug 31, 2017
1 parent 894276f commit 632b475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/scripts/release/make_github_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 632b475

Please sign in to comment.