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:
parent
7761874fe4
commit
94d0c2bc4c
@ -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!"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user