chore: add build types blurb to snapshot release description

This commit is contained in:
Harsh Shandilya 2022-10-29 13:50:42 +05:30
parent 0208483fd4
commit c175a8f7d5
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View file

@ -36,7 +36,8 @@ function create_rev_file() {
function create_release() {
local CHANGELOG_FILE
CHANGELOG_FILE="$(mktemp)"
echo "Latest release for APS from revision ${CURRENT_REV}" | tee "${CHANGELOG_FILE}"
cp scripts/snapshot-changelog-template.txt "${CHANGELOG_FILE}"
sed -i "s/__SNAPSHOT_REV__/${CURRENT_REV}/" "${CHANGELOG_FILE}"
pushd "${ASSET_DIRECTORY}" || return
gh release create --prerelease --title "Latest snapshot build" --notes-file "${CHANGELOG_FILE}" "${LATEST_TAG}" ./*
popd || return

View file

@ -0,0 +1,3 @@
Latest release for APS from revision __SNAPSHOT_REV__
Consult the release channels documentation [here](https://docs.passwordstore.app/docs/users/release-channels) for the differences between free and nonFree builds.