mirror of https://github.com/GooseMod/OpenAsar
ci: add size diff to release notes
parent
3279282c96
commit
be076a2fe4
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "$(git rev-parse HEAD | cut -c 1-7) | $(git log -1 --pretty=%B)"
|
||||
|
||||
size_old=$(stat -c "%s" old.asar)
|
||||
size_new=$(stat -c "%s" app.asar)
|
||||
|
||||
echo "print(\"%+2.3f KB\" % (($size_new-$size_old)/1000))" | python3
|
Loading…
Reference in new issue