Skip to content

Commit

Permalink
Update bungee.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Refrac authored Aug 7, 2024
1 parent 58a1e3f commit 4d27ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bungee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: mvn -B package --file pom.xml
- name: Rename JAR with Build Number
run: |
original_jar=$(find SimpleStaffChat-Bungee/target/ -type f -name "SimpleGems-*.jar")
original_jar=$(find SimpleStaffChat-Bungee/target/ -type f -name "SimpleStaffChat-Bungee-*.jar")
new_name=$(echo "$original_jar" | sed "s/SimpleStaffChat-Bungee-\(.*\)\.jar/SimpleStaffChat-Bungee-\1+${{ github.run_number }}.jar/")
mv "$original_jar" "$new_name"
- name: Upload a Build Artifact
Expand Down

0 comments on commit 4d27ddf

Please sign in to comment.