Merge remote-tracking branch 'origin/main' into 1.18

This commit is contained in:
embeddedt 2023-04-25 14:37:49 -04:00
commit 0cfb275480
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
2 changed files with 10 additions and 1 deletions

View File

@ -5,6 +5,7 @@ plugins {
id 'com.palantir.git-version' version '1.0.0'
id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' version '1.79.0'
id "com.modrinth.minotaur" version "2.+"
id "com.javiersc.semver" version "0.5.0-alpha.2"
}
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
@ -215,4 +216,4 @@ tasks.modrinth.dependsOn(":generateChangelog")
tasks.register('publishToModSites') {
publishToModSites.dependsOn(tasks.modrinth)
publishToModSites.dependsOn(tasks.curseforge)
}
}

8
release.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
scope="$1"
if [ -z "$scope" ]; then
echo Scope not provided
exit 1
fi
./gradlew pushSemverTag -Psemver.scope=$scope
./gradlew publishToModSites