Skip to content

Commit

Permalink
Git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
raulssorban committed Oct 21, 2023
1 parent a63af60 commit a2f70af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Tools/Build/linux/publish_git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ echo "** Comment done."
git log -1 --format="%ci" HEAD > .gitdate
echo "** Date done."

git describe --tags > .gittag
echo "** Tag done."
if [ -z "$1" ]; then
git describe --tags > .gittag
echo "** Tag done."
else
echo "$1" > .gittag
echo "** Tag done."
fi

git remote get-url origin > .giturl
echo "** URL done."
Expand Down
2 changes: 0 additions & 2 deletions Tools/Build/win/publish_git.bat
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ if "%1" EQU "" (
echo ** Tag done.
)



git remote get-url origin > .giturl
echo ** URL done.

Expand Down

0 comments on commit a2f70af

Please sign in to comment.