Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ jobs:

mkdir -p dist

#if compgen -G "build/curseforge/*.zip" > /dev/null; then
# mv build/curseforge/*.zip "dist/${FILE_NAME}-curseforge.zip"
#else
# echo "::error::CurseForge zip was not produced by pakku export"
# exit 1
#fi
if compgen -G "build/curseforge/*.zip" > /dev/null; then
mv build/curseforge/*.zip "dist/${FILE_NAME}-curseforge.zip"
else
echo "::error::CurseForge zip was not produced by pakku export"
exit 1
fi

if compgen -G "build/modrinth/*.mrpack" > /dev/null; then
mv build/modrinth/*.mrpack "dist/${FILE_NAME}-modrinth.mrpack"
Expand Down Expand Up @@ -287,18 +287,18 @@ jobs:
run: |
set -euo pipefail
missing=0
#if [ -z "${CURSEFORGE_ID}" ]; then
# echo "::error::Repository variable CURSEFORGE_ID is not set."
# missing=1
#fi
if [ -z "${CURSEFORGE_ID}" ]; then
echo "::error::Repository variable CURSEFORGE_ID is not set."
missing=1
fi
if [ -z "${MODRINTH_ID}" ]; then
echo "::error::Repository variable MODRINTH_ID is not set."
missing=1
fi
#if [ -z "${CURSEFORGE_TOKEN}" ]; then
# echo "::error::Secret CURSEFORGE_TOKEN is not set."
# missing=1
#fi
if [ -z "${CURSEFORGE_TOKEN}" ]; then
echo "::error::Secret CURSEFORGE_TOKEN is not set."
missing=1
fi
if [ -z "${MODRINTH_TOKEN}" ]; then
echo "::error::Secret MODRINTH_TOKEN is not set."
missing=1
Expand All @@ -311,9 +311,9 @@ jobs:
if: steps.meta.outputs.dry_run != 'true'
uses: Kir-Antipov/mc-publish@v3.3
with:
#curseforge-id: ${{ vars.CURSEFORGE_ID }}
#curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
#curseforge-files: dist/*-curseforge.zip
curseforge-id: ${{ vars.CURSEFORGE_ID }}
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-files: dist/*-curseforge.zip

modrinth-id: ${{ vars.MODRINTH_ID }}
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
Expand All @@ -324,7 +324,7 @@ jobs:
github-commitish: ${{ github.sha }}
github-files: |
dist/*-modrinth.mrpack
# dist/*-curseforge.zip
dist/*-curseforge.zip

name: ${{ steps.meta.outputs.project_full_name }}
version: ${{ steps.meta.outputs.project_version }}
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,25 @@
### Breaking Changes


## 0.2.0

### Added

* Added CurseForge support

### Changed

* Updated to Minecraft 26.2


## 0.1.6

### Added

* Added Changelog, Contributing, and README files
* Added MIT LICENSE
* Added auto publishing to modrinth and github

### Changed

* Changed from the [Mrpack format](https://support.modrinth.com/en/articles/8802351-modrinth-modpack-format-mrpack) to the [Pakku format](https://juraj-hrivnak.github.io/Pakku/lock-file.html)
Loading