Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Sep 25, 2024
1 parent 8b925be commit 0c17d05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,15 @@ main() {
exit 1
fi

# Disable shellcheck SC2016, the single quoted syntax for sed is intentional.
# shellcheck disable=SC2016
maybe_run sed 's/${RELEASE_VERSION}/'"${RELEASE_VERSION}"'/' ./scripts/release_notes.tpl.txt | \
gh release create "${RELEASE_VERSION}" \
--draft \
--prerelease \ # Specific to the main branch (v3.6)
--prerelease \
--title "${RELEASE_VERSION}" \
--notes-file - \
./release/etcd-${RELEASE_VERSION}-*.{tar.gz,zip} ./release/SHA256SUMS
"./release/etcd-${RELEASE_VERSION}-*.{tar.gz,zip}" ./release/SHA256SUMS

log_warning ""
log_warning "WARNING: The GitHub release for ${RELEASE_VERSION} has been created as a draft, please go to <URL> and release it."
Expand Down

0 comments on commit 0c17d05

Please sign in to comment.