updated buildscript

This commit is contained in:
EnderProyects committed 2023-03-06 01:50:15 +01:00
1 parent 6174367651
commit c66d4cb2d4
19 files changed
+1044 -49

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
if ! git diff --name-only HEAD HEAD~1 | grep -qF 'build.gradle'; then
new_version="$(date +%s)"
sed --in-place "s!^//version:.*!//version: $new_version!g" build.gradle
git add build.gradle
git commit -m "[ci skip] update build script version to $new_version"
git push
printf 'Updated buildscript version to %s\n' "$new_version"
else
printf 'Ignored buildscript version update: no changes detected\n'
fi