mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-13 00:47:53 +00:00
embed build script version in its file; add zip-packages job to CI
This commit is contained in:
1 parent
4502bb39d7
commit
39b9d261b9
5 files changed
+68
-5
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
if [ ! -z $(git diff --name-only HEAD HEAD~1 | grep dependencies.gradle) ]; then
|
||||
new_version="$(git log -n1 --format=format:"%H")"
|
||||
sed --in-place "s!//version:.*!//version: $new_version!g" build.gradle
|
||||
git add build.gradle
|
||||
git commit -m "update buildscript version to $new_version"
|
||||
git push
|
||||
echo "[ci skip] update buildscript version";
|
||||
fi
|
||||
Reference in new issue
Block a user