From 34e7d5258e8ea36221f78baa86eeed4ae795d9b6 Mon Sep 17 00:00:00 2001 From: Thatsmusic99 <25277367+thatsmusic99@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:17:19 +0100 Subject: [PATCH] dev: make internal tweaks --- cog.toml | 1 + scripts/pre-bump.sh | 1 + 2 files changed, 2 insertions(+) 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)