1
0
mirror of https://github.com/kami-blue/client synced 2025-04-26 20:57:57 +00:00

fix: Commit style in release scripts

This commit is contained in:
lv 2021-04-01 21:41:56 -04:00
parent 7761874fe4
commit 94d0c2bc4c
No known key found for this signature in database
GPG Key ID: AF236A45B0255DA8
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ sed -i "s/modVersion=.*/modVersion=$VERSION_DEV/" gradle.properties
sed -i "s/VERSION = \".*\"/VERSION = \"$VERSION_DEV\"/" src/main/kotlin/org/kamiblue/client/KamiMod.kt
sed -i "s/VERSION_SIMPLE = \".*\"/VERSION_SIMPLE = \"$VERSION_DEV\"/" src/main/kotlin/org/kamiblue/client/KamiMod.kt
sed -i "s/VERSION_MAJOR = \".*\"/VERSION_MAJOR = \"$VERSION\"/" src/main/kotlin/org/kamiblue/client/KamiMod.kt
git commit -am "[bump] Release Major $VERSION"
git commit -am "bump: Release Major $VERSION"
echo "[bumpMajor] Created commit for version '$VERSION', remember to push!"

View File

@ -49,5 +49,5 @@ sed -i "s|jar_url:.*|jar_url: https://github.com/$KAMI_OWNER/$KAMI_REPO_MAJOR/re
sed -i "s|jar_sig_url:.*|jar_sig_url: https://github.com/$KAMI_OWNER/$KAMI_REPO_MAJOR/releases/download/$3/kamiblue-$3.jar.sig|g" _config.yml
sed -i "s|beta_jar_url:.*|beta_jar_url: https://github.com/$KAMI_OWNER/$KAMI_REPO_NIGHTLY/releases/download/$2/$1|g" _config.yml
git commit -am "[bump] Release $2" || exit $?
git commit -am "bump: Release $2" || exit $?
git push origin master