diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-29 13:50:42 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-29 13:50:42 +0530 |
commit | c175a8f7d58b6ea2e76cdf657db7dd799a314984 (patch) | |
tree | db491ca9c277759bd24c8d79fccd26919bdc9686 | |
parent | 0208483fd4d9a72abf24724c0a2b0b3e9359fc65 (diff) |
chore: add build types blurb to snapshot release description
-rwxr-xr-x | scripts/deploy-snapshot.sh | 3 | ||||
-rw-r--r-- | scripts/snapshot-changelog-template.txt | 3 |
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. |