Update release.yml

This commit is contained in:
Waylon Walker 2023-03-09 19:39:47 -06:00 committed by GitHub
parent 31369e6416
commit b5679c07f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,8 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@v3.5.0 uses: actions/setup-go@v3.5.0
- run: go install github.com/packwiz/packwiz@latest - run: go install github.com/packwiz/packwiz@latest
- run: /home/runner/go/packwiz refresh - run: /home/runner/go/bin/packwiz refresh
- run: /home/runner/go/packwiz modrinth export - run: /home/runner/go/bin/packwiz modrinth export
- run: | - run: |
VERSION=`cat pack.toml | grep ^version | sed 's/version = "\(.*\)"/\1/'` VERSION=`cat pack.toml | grep ^version | sed 's/version = "\(.*\)"/\1/'`
gh release create v$VERSION --generate-notes *.mrpack gh release create v$VERSION --generate-notes *.mrpack