Skip to content

Commit 26b6099

Browse files
committed
Align Packwiz export versions with release tag
1 parent e8750eb commit 26b6099

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
use-java: false
1818
use-go: true
1919
build-command: |
20+
# Keep Packwiz export versions aligned with the published GitHub Release tag.
21+
sed -i "s/^version = .*/version = \"${GITHUB_REF_NAME}\"/" platforms/modrinth/pack.toml platforms/curseforge/pack.toml
2022
go install github.com/packwiz/packwiz@latest
2123
(cd platforms/modrinth && packwiz modrinth export)
2224
(cd platforms/curseforge && packwiz curseforge export)

0 commit comments

Comments
 (0)