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

This commit is contained in:
embeddedt 2023-04-25 14:40:51 -04:00
commit 9e7f5b50aa
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
2 changed files with 5 additions and 7 deletions

View File

@ -5,7 +5,6 @@ plugins {
id 'com.palantir.git-version' version '1.0.0' id 'com.palantir.git-version' version '1.0.0'
id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' version '1.79.0' id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' version '1.79.0'
id "com.modrinth.minotaur" version "2.+" id "com.modrinth.minotaur" version "2.+"
id "com.javiersc.semver" version "0.5.0-alpha.2"
} }
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17 sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17

View File

@ -1,8 +1,7 @@
#!/bin/bash #!/bin/bash
scope="$1" echo -n "Currently on: "
if [ -z "$scope" ]; then git describe
echo Scope not provided echo -n "New version: "
exit 1 read newtag
fi git tag -a $newtag -m "$newtag"
./gradlew pushSemverTag -Psemver.scope=$scope
./gradlew publishToModSites ./gradlew publishToModSites