Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar committed Mar 4, 2024
1 parent 3dc3e5d commit 30e2553
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release New Version
name: Publish To Maven
on:
push:
branches: [ master ]
Expand All @@ -17,9 +17,9 @@ jobs:
run: |
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' gradle.properties
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' common/src/main/java/me/mrnavastar/protoweaver/core/util/ProtoConstants.java
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' loader-fabric/src/main/resources/fabric.mod.json
sed -i 's/0.debug-build/${{ github.event.release.tag_name }}/g' loader-forge/src/main/resources/META-INF/mods.toml
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' loader-plugin/src/main/resources/plugin.yml
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' fabric/src/main/resources/fabric.mod.json
sed -i 's/0.debug-build/${{ github.event.release.tag_name }}/g' forge/src/main/resources/META-INF/mods.toml
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' paper/src/main/resources/plugin.yml
sed -i 's/debug-build/${{ github.event.release.tag_name }}/g' proxy/src/main/resources/bungee.yml
- name: Build
Expand Down

0 comments on commit 30e2553

Please sign in to comment.