From a9e9ca81e0ba1682d1db809d9751daa096c852e5 Mon Sep 17 00:00:00 2001 From: The-Lum <86879521+The-Lum@users.noreply.github.com> Date: Mon, 6 Jun 2022 14:26:57 +0200 Subject: [PATCH] upd: add a pseudo version of snapshot Add a pseudo version of snapshot: `snapshot (~vM.YYYY.mmbetaBB [YYYY-MM-DD at hh:mm:ss (UTC)])` --- .github/scripts/release-snapshot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/release-snapshot.sh b/.github/scripts/release-snapshot.sh index aef91a4a7..cd91fb0b5 100755 --- a/.github/scripts/release-snapshot.sh +++ b/.github/scripts/release-snapshot.sh @@ -42,8 +42,8 @@ EOF gh release create \ --prerelease \ --target "${GITHUB_SHA}" \ - --title "${TAG}" \ + --title "${TAG} (~v${POM_VERSION%-SNAPSHOT} [${DATE_TIME_UTC}])" \ --notes-file notes.txt \ "${TAG}" ${RELEASE_DIR}/* -echo "::notice title=release snapshot::Snapshot released at ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/releases/tag/${TAG} and taken the ${DATE_TIME_UTC}" +echo "::notice title=release snapshot::Snapshot (~v${POM_VERSION%-SNAPSHOT}) released at ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/releases/tag/${TAG} and taken the ${DATE_TIME_UTC}"