Files
b5f36332ad Make it build (#1)
* Adapt to examplemod1.7.10 structure

* Fix broken static imports

* apply spotless

* Update mcmod.info

* Start work on ATs

* More ATs

* Compile stubs

* Recursive compilation stubs to fix missing items in stubs

* Stub out the tesselator

* Switch to IFMLLoadingPlugin

* Move the namer classes out of todo

* Yeet ATs

* Change transformers paths

* spotless, remove MANIFEST.MF as it is no longer needed

* Use MCF namer

* Revert "spotless, remove MANIFEST.MF as it is no longer needed"

This reverts commit 9be1abfe70.

* Revert "Switch to IFMLLoadingPlugin"

This reverts commit 089a01e148.

* At least make it work for now

* Dirty implementation of include preprocessing

* spotlessApply (#6)

Co-authored-by: GitHub GTNH Actions <>

Co-authored-by: Vladislav Laetansky <vlaetansky@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-23 15:34:08 +01:00

13 lines
438 B
Bash

#!/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