rename releases/tags
This commit is contained in:
@@ -45,14 +45,15 @@ jobs:
|
|||||||
git push origin HEAD:main
|
git push origin HEAD:main
|
||||||
|
|
||||||
# Create a unique tag for this bundle run
|
# Create a unique tag for this bundle run
|
||||||
TAG="bundle-$(date -u +%Y%m%d-%H%M%S)"
|
DATETIME="$(date -u +%Y%m%d-%H%M%S)"
|
||||||
|
TAG="knox-makers-inkscape-${DATETIME}"
|
||||||
SHA="$(git rev-parse HEAD)"
|
SHA="$(git rev-parse HEAD)"
|
||||||
|
|
||||||
git tag -a "$TAG" -m "Automated bundle: $TAG ($SHA)"
|
git tag -a "$TAG" -m "Automated bundle: $TAG ($SHA)"
|
||||||
git push origin "$TAG"
|
git push origin "$TAG"
|
||||||
|
|
||||||
# Build a release artifact: include everything except scripts/ and .gitea/ and .git/
|
# Build a release artifact: include everything except scripts/ and .gitea/ and .git/
|
||||||
ART="knoxmakers-inkscape-${TAG}.zip"
|
ART="${TAG}.zip"
|
||||||
rm -f "$ART"
|
rm -f "$ART"
|
||||||
|
|
||||||
zip -r "$ART" . \
|
zip -r "$ART" . \
|
||||||
|
|||||||
Reference in New Issue
Block a user