1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-17 07:32:24 +00:00

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)])`
This commit is contained in:
The-Lum 2022-06-06 14:26:57 +02:00 committed by GitHub
parent 5e06dae809
commit a9e9ca81e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,8 +42,8 @@ EOF
gh release create \ gh release create \
--prerelease \ --prerelease \
--target "${GITHUB_SHA}" \ --target "${GITHUB_SHA}" \
--title "${TAG}" \ --title "${TAG} (~v${POM_VERSION%-SNAPSHOT} [${DATE_TIME_UTC}])" \
--notes-file notes.txt \ --notes-file notes.txt \
"${TAG}" ${RELEASE_DIR}/* "${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}"