From aef37fcc9eb4b55b44293eb84ed556fedf64e111 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 21 Jan 2021 15:34:21 +0330 Subject: [PATCH] add revision --- .github/scripts/create-repo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/create-repo.sh b/.github/scripts/create-repo.sh index db1a0bf..9869f0a 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -3,4 +3,6 @@ set -e mkdir -p repo/ -cp -f server/build/server-1.0-all.jar repo/ \ No newline at end of file +revision=$(git rev-list HEAD --count) + +cp server/build/server-1.0-all.jar "repo/server-r$revision.jar" \ No newline at end of file