mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Use git describe --tags
rather than plain git describe
This commit is contained in:
parent
f6ae4f731b
commit
2a99fd780e
2
.github/scripts/update-template-repo.sh
vendored
2
.github/scripts/update-template-repo.sh
vendored
|
@ -19,7 +19,7 @@ mv "$CLONE_DIR/.git" "$TEMP_DIR/.git"
|
||||||
cp -rva template/. "$TEMP_DIR"
|
cp -rva template/. "$TEMP_DIR"
|
||||||
|
|
||||||
# git describe will give a unique, friendly name for the current commit to make it easier to track where this came from
|
# git describe will give a unique, friendly name for the current commit to make it easier to track where this came from
|
||||||
VERSION=$(git describe)
|
VERSION=$(git describe --tags)
|
||||||
COMMIT_MESSAGE="Update to $VERSION"
|
COMMIT_MESSAGE="Update to $VERSION"
|
||||||
|
|
||||||
git -C "$TEMP_DIR" add .
|
git -C "$TEMP_DIR" add .
|
||||||
|
|
Loading…
Reference in a new issue