From c175a8f7d58b6ea2e76cdf657db7dd799a314984 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 29 Oct 2022 13:50:42 +0530 Subject: chore: add build types blurb to snapshot release description --- scripts/deploy-snapshot.sh | 3 ++- scripts/snapshot-changelog-template.txt | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 scripts/snapshot-changelog-template.txt (limited to 'scripts') diff --git a/scripts/deploy-snapshot.sh b/scripts/deploy-snapshot.sh index 162282f3..f5e3f971 100755 --- a/scripts/deploy-snapshot.sh +++ b/scripts/deploy-snapshot.sh @@ -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 diff --git a/scripts/snapshot-changelog-template.txt b/scripts/snapshot-changelog-template.txt new file mode 100644 index 00000000..c7816aa7 --- /dev/null +++ b/scripts/snapshot-changelog-template.txt @@ -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. -- cgit v1.2.3