mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-26 14:56:28 +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:
parent
db3252a5ad
commit
24c18715ae
3
.github/scripts/release-snapshot.sh
vendored
3
.github/scripts/release-snapshot.sh
vendored
@ -34,6 +34,7 @@ fi
|
|||||||
echo -n "${DATE_TIME_UTC}" > "${RELEASE_DIR}/plantuml-SNAPSHOT.timestamp"
|
echo -n "${DATE_TIME_UTC}" > "${RELEASE_DIR}/plantuml-SNAPSHOT.timestamp"
|
||||||
|
|
||||||
cat <<-EOF >notes.txt
|
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/).
|
This is a pre-release of [the latest development work](https://github.com/plantuml/plantuml/commits/).
|
||||||
⚠️ **It is not ready for general use** ⚠️
|
⚠️ **It is not ready for general use** ⚠️
|
||||||
⏱ _Snapshot taken the ${DATE_TIME_UTC}_
|
⏱ _Snapshot taken the ${DATE_TIME_UTC}_
|
||||||
@ -42,7 +43,7 @@ EOF
|
|||||||
gh release create \
|
gh release create \
|
||||||
--prerelease \
|
--prerelease \
|
||||||
--target "${GITHUB_SHA}" \
|
--target "${GITHUB_SHA}" \
|
||||||
--title "${TAG} (~v${POM_VERSION%-SNAPSHOT} [${DATE_TIME_UTC}])" \
|
--title "${TAG} (~v${POM_VERSION%-SNAPSHOT})" \
|
||||||
--notes-file notes.txt \
|
--notes-file notes.txt \
|
||||||
"${TAG}" ${RELEASE_DIR}/*
|
"${TAG}" ${RELEASE_DIR}/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user