add revision # to packaged zip file
This commit is contained in:
parent
fe02e13a11
commit
3e4bd73091
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir Totte && cp -r bin/Debug/net7.0/* Totte/ && zip -r totte.zip Totte/ && rm -rf Totte
|
||||
revision=r$(git log | egrep "^commit [0-9a-f]{40}$" | wc -l)
|
||||
mkdir totte-$revision && cp -r bin/Debug/net7.0/* totte-$revision/ && zip -r totte-$revision.zip totte-$revision/ && rm -rf totte-$revision
|
||||
|
Loading…
Reference in New Issue
Block a user