diff --git a/cog.toml b/cog.toml index 74256fb02..2fbc1c6dd 100644 --- a/cog.toml +++ b/cog.toml @@ -1,4 +1,5 @@ pre_bump_hooks = [ + "./gradlew AdvancedTeleport-Bukkit:slimJar", "bash -c \"scripts/pre-bump.sh {{latest}} {{version}}\"" ] diff --git a/scripts/pre-bump.sh b/scripts/pre-bump.sh index e266a9d3a..008d2e148 100644 --- a/scripts/pre-bump.sh +++ b/scripts/pre-bump.sh @@ -5,4 +5,5 @@ PROPERTIES_CONTENT=$(cat gradle.properties) # Replace the current version with the new version, and write to the file again echo "${PROPERTIES_CONTENT/$1/$2}" > gradle.properties +exit(0)