Skip to content

Commit

Permalink
Update release script to handle Manage releases
Browse files Browse the repository at this point in the history
USAGE
  gh release <command> [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 <command> <subcommand> --help` for more information about a command.
  Read the manual at https://cli.github.com/manual failure
  • Loading branch information
jamesaoverton committed Oct 22, 2024
1 parent e4eb320 commit 32e262e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 32e262e

Please sign in to comment.