1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-22 21:15:09 +00:00

upd: improve pseudo version of snapshot

- Suppress date-time on release title
- Add subtitle: `Version ~v${POM_VERSION%-SNAPSHOT} of the ${DATE_TIME_UTC}`
This commit is contained in:
The-Lum 2022-06-06 19:46:45 +02:00 committed by GitHub
parent db3252a5ad
commit 24c18715ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ fi
echo -n "${DATE_TIME_UTC}" > "${RELEASE_DIR}/plantuml-SNAPSHOT.timestamp"
cat <<-EOF >notes.txt
## Version ~v${POM_VERSION%-SNAPSHOT} of the ${DATE_TIME_UTC}
This is a pre-release of [the latest development work](https://github.com/plantuml/plantuml/commits/).
⚠️ **It is not ready for general use** ⚠️
⏱ _Snapshot taken the ${DATE_TIME_UTC}_
@ -42,7 +43,7 @@ EOF
gh release create \
--prerelease \
--target "${GITHUB_SHA}" \
--title "${TAG} (~v${POM_VERSION%-SNAPSHOT} [${DATE_TIME_UTC}])" \
--title "${TAG} (~v${POM_VERSION%-SNAPSHOT})" \
--notes-file notes.txt \
"${TAG}" ${RELEASE_DIR}/*