Skip to content

Commit

Permalink
maybe this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunnky committed Oct 4, 2024
1 parent f0f177a commit 0bd7fff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ jobs:
# Step 6: Rename the JAR file
- name: Rename JAR file
run: |
mv *.jar "SensibleToolbox v${{ env.NEW_VERSION }}.jar"
# Set the base name of the JAR file
BASE_JAR="SensibleToolbox-Reborn"
# Get the current version
CURRENT_VERSION="${{ env.NEW_VERSION }}"
# Get the new JAR file name
mv "${BASE_JAR}-${CURRENT_VERSION#Reborn }.jar" "SensibleToolbox v${CURRENT_VERSION}.jar"
# Step 7: Create a release with the JAR
- name: Create Release
Expand Down

0 comments on commit 0bd7fff

Please sign in to comment.