summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/deploy-snapshot.sh3
-rw-r--r--scripts/snapshot-changelog-template.txt3
2 files changed, 5 insertions, 1 deletions
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.