mirror of
https://github.com/GTNewHorizons/MouseTweaks.git
synced 2026-11-23 21:39:45 +00:00
update buildscript, remove all non-forge stuff
This commit is contained in:
1 parent
2c8bce171e
commit
47d0806688
36 files changed
+2718
-1959
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user