add revision

This commit is contained in:
Aria Moradi 2021-01-21 15:34:21 +03:30
parent ac51f40a91
commit aef37fcc9e

View File

@ -3,4 +3,6 @@ set -e
mkdir -p repo/
cp -f server/build/server-1.0-all.jar repo/
revision=$(git rev-list HEAD --count)
cp server/build/server-1.0-all.jar "repo/server-r$revision.jar"