Skip to content

Commit

Permalink
Exclude slim jar from github release version (#607)
Browse files Browse the repository at this point in the history
* chore: exclude slim jar from github release version

* chore: exclude slim jar in auto-build as well
  • Loading branch information
mikerooni authored Dec 3, 2023
1 parent 79f1904 commit 035952d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get Version
id: var
run: |
MESSAGE=$(ls forge/build/libs/* | grep sources.jar -v | grep shadow.jar -v | awk -F 'gtceu-forge-|.jar' '{print $2}')
MESSAGE=$(ls forge/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'gtceu-forge-|.jar' '{print $2}')
echo version=$MESSAGE >> $GITHUB_OUTPUT
- name: release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
name: Get Version
id: var
run: |
MESSAGE=$(ls fabric/build/libs/* | grep sources.jar -v | grep shadow.jar -v | awk -F 'gtceu-fabric-|.jar' '{print $2}')
MESSAGE=$(ls fabric/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'gtceu-fabric-|.jar' '{print $2}')
echo fabric_version=$MESSAGE >> $GITHUB_OUTPUT
MESSAGE=$(ls forge/build/libs/* | grep sources.jar -v | grep shadow.jar -v | awk -F 'gtceu-forge-|.jar' '{print $2}')
MESSAGE=$(ls forge/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'gtceu-forge-|.jar' '{print $2}')
echo forge_version=$MESSAGE >> $GITHUB_OUTPUT
- if: ${{ inputs.publishCurseForgeAndModrinth }}
Expand Down

0 comments on commit 035952d

Please sign in to comment.