1
0
Fork 0
mirror of https://codeberg.org/xtex/xtex-mp-pack.git synced 2024-09-19 11:52:32 +00:00

chore: fix upload-to-mr

This commit is contained in:
xtex 2023-06-22 13:05:07 +08:00
parent 8fbb1f99b9
commit 388e8a95f1
No known key found for this signature in database
GPG key ID: 978F2E760D9DB0EB
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ rm -f -- *.mrpack *.zip
scripts/update-credits.sh
packwiz refresh
git commit -uall -a -S -s --allow-empty -m "release: $version\n\n$changelog"
git commit -uall -a -S -s --allow-empty -m "release: $version"
git tag -s -m "Release $version" "$version"
git push
git push --tags

View file

@ -9,8 +9,8 @@ payload=$(jo -p project_id=HsMwyVxf \
version_type=release \
"game_versions=[\"$(grep '^minecraft = "' pack.toml | sed -e 's/minecraft = "//' | sed -e 's/"//')\"]" \
dependencies=[] \
"version_number=$version" "name=$version" \
"changelog=$CHANGELOG")
"version_number=\"$version\"" "name=\"$version\"" \
"changelog=\"$CHANGELOG\"")
echo "$payload"