Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ http_archive(
name = "${WORKSPACE_NAME}",
url = "https://github.com/helly25/${PACKAGE_NAME}/releases/download/${TAG}/${ARCHIVE}",
sha256 = "${SHA256}",
strip_prefix = "${PREFIX}",
)
\`\`\`
EOF
7 changes: 4 additions & 3 deletions tools/trigger_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ fi

grep "${VERSION}" < <(git tag -l) && die "Version tag is already in use."

# Should the tag have the changelog parts?
git tag -s -a "${VERSION}" -m "New release tag version: '${VERSION}'."
git tag -s -a "${VERSION}" \
-m "New release tag version: '${VERSION}'." \
-m "$(awk '/^#/{if(NR>1)exit}/^[^#]/{print}' <CHANGELOG.md)"
git push origin --tags

echo "Next version: ${NEXT_VERSION}"
Expand Down Expand Up @@ -97,7 +98,7 @@ if which gh; then
else
gh pr merge "${NEXT_BRANCH}" --auto -d -s -b "${MERGE_BODY}" -t "${MERGE_SUBJECT}"
git checkout main
git branch -d "${NEXT_BRANCH}"
git branch -d "${NEXT_BRANCH}" || true
echo "PR ${PRNUM} cannot be merged via admin override."
echo "Please approve it at ${PRURL}."
fi
Expand Down