From 24c18715aec5d487a9704ee466f7a96cdae1d5c1 Mon Sep 17 00:00:00 2001 From: The-Lum <86879521+The-Lum@users.noreply.github.com> Date: Mon, 6 Jun 2022 19:46:45 +0200 Subject: [PATCH] upd: improve pseudo version of snapshot - Suppress date-time on release title - Add subtitle: `Version ~v${POM_VERSION%-SNAPSHOT} of the ${DATE_TIME_UTC}` --- .github/scripts/release-snapshot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/release-snapshot.sh b/.github/scripts/release-snapshot.sh index cd91fb0b5..c850400bf 100755 --- a/.github/scripts/release-snapshot.sh +++ b/.github/scripts/release-snapshot.sh @@ -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}/*