Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90f610dd78 | ||
|
|
6d849075e3 |
|
|
@ -119,7 +119,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
Initial release
|
Initial release
|
||||||
|
|
||||||
[unreleased]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.3.0...HEAD
|
[unreleased]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.3.0...HEAD
|
||||||
[1.2.0]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.2.0...1.3.0
|
[1.3.0]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.2.0...1.3.0
|
||||||
[1.2.0]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.1.3...1.2.0
|
[1.2.0]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.1.3...1.2.0
|
||||||
[1.1.3]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.1.2...1.1.3
|
[1.1.3]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.1.2...1.1.3
|
||||||
[1.1.2]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.1.1...1.1.2
|
[1.1.2]: https://patience.nearmisses.xyz/SergeantAcoustic/tinkers_tinkering/compare/1.1.1...1.1.2
|
||||||
|
|
|
||||||
|
|
@ -9,17 +9,8 @@ if [ ! -d deps ]; then
|
||||||
mkdir deps
|
mkdir deps
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
# If the user provides input e.g. `./export-pack.sh 1`, clone the repository using https
|
# Clone the mod repo, if it already exists then update it
|
||||||
if [ -n "$1" ]; then
|
git clone --single-branch -b main "https://patience.nearmisses.xyz/patience/mc_rebalance.git" "$basedir/deps/mc_rebalance" || (cd "$basedir/deps/mc_rebalance"; git pull) || exit 1
|
||||||
repo_prefix="https://patience.nearmisses.xyz/"
|
|
||||||
else
|
|
||||||
repo_prefix="forgejo@patience.nearmisses.xyz:"
|
|
||||||
fi
|
|
||||||
|
|
||||||
mod_repo="$repo_prefix/patience/mc_rebalance.git"
|
|
||||||
|
|
||||||
# Clone the repos if they exist, otherwise, update them
|
|
||||||
git clone "$mod_repo" "$basedir/deps/mc_rebalance" || (cd "$basedir/deps/mc_rebalance"; git pull) || exit 1
|
|
||||||
|
|
||||||
rm "$basedir/deps/mc_rebalance/build/libs/mc_rebalance-"*".jar"
|
rm "$basedir/deps/mc_rebalance/build/libs/mc_rebalance-"*".jar"
|
||||||
(cd "$basedir"/deps/mc_rebalance/ && ./gradlew build)
|
(cd "$basedir"/deps/mc_rebalance/ && ./gradlew build)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue