Skip to content

Commit

Permalink
dev: make internal tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Thatsmusic99 committed Apr 10, 2023
1 parent ea71504 commit 34e7d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cog.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pre_bump_hooks = [
"./gradlew AdvancedTeleport-Bukkit:slimJar",
"bash -c \"scripts/pre-bump.sh {{latest}} {{version}}\""
]

Expand Down
1 change: 1 addition & 0 deletions scripts/pre-bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 34e7d52

Please sign in to comment.