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 /scripts/deploy-snapshot.sh | |
parent | 0208483fd4d9a72abf24724c0a2b0b3e9359fc65 (diff) |
chore: add build types blurb to snapshot release description
Diffstat (limited to 'scripts/deploy-snapshot.sh')
-rwxr-xr-x | scripts/deploy-snapshot.sh | 3 |
1 files changed, 2 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 |