totte/package_debug_zip.sh

5 lines
212 B
Bash
Raw Normal View History

2023-07-24 22:55:30 +00:00
#!/bin/sh
2023-07-28 18:49:48 +00:00
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