From 32e262e7137ee1ba5fac1921696958402a4e32ff Mon Sep 17 00:00:00 2001 From: "James A. Overton" Date: Tue, 22 Oct 2024 10:19:23 -0400 Subject: [PATCH] Update release script to handle Manage releases USAGE gh release [flags] GENERAL COMMANDS create: Create a new release list: List releases in a repository TARGETED COMMANDS delete: Delete a release delete-asset: Delete an asset from a release download: Download release assets edit: Edit a release upload: Upload assets to a release view: View information about a release FLAGS -R, --repo [HOST/]OWNER/REPO Select another repository using the [HOST/]OWNER/REPO format INHERITED FLAGS --help Show help for command LEARN MORE Use `gh --help` for more information about a command. Read the manual at https://cli.github.com/manual failure --- src/scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/release.sh b/src/scripts/release.sh index 64872e1d..8795f739 100755 --- a/src/scripts/release.sh +++ b/src/scripts/release.sh @@ -44,7 +44,7 @@ confirm "Is this the release date: '${DATE}'?" # Make a new GitHub release. echo "Creating GitHub release:" -gh release create "v${DATE}" --title "${DATE} Release" --notes-file build/new-entities.txt +gh release create "v${DATE}" --title "${DATE} Release" --notes-file build/new-entities.txt || fail "Failed to create GitHub release" # Draft an announcement email. EMAIL="build/release-email.txt"