Split out goliath addon for distribution #23

Merged
atomaka merged 6 commits from auto-repair-goliath into master 2021-03-09 22:58:50 -05:00
2 changed files with 19 additions and 0 deletions
Showing only changes of commit ac9a030ec5 - Show all commits

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.zip

View file

@ -5,3 +5,21 @@ install:
update: update:
cp -r $$WOW_ADDON_DIR/ATMe . cp -r $$WOW_ADDON_DIR/ATMe .
cp -r $$WOW_ADDON_DIR/ATAutoReactivateGoliath . cp -r $$WOW_ADDON_DIR/ATAutoReactivateGoliath .
clean:
rm -f ATAutoReactivateGoliath.zip
archive: clean
zip -r ATAutoReactivateGoliath ATAutoReactivateGoliath
upload: archive
test $$WOW_GAME_VERSION
curl -H "X-Api-Token: $$CURSEFORGE_TOKEN" \
-F metadata='{changelog: "Initial upload", gameVersions: [$$WOW_GAME_VERSION], releaseType: "release"}' \
-F file=@ATAutoReactivateGoliath.zip \
https://wow.curseforge.com/api/projects/$$CURSEFORGE_PROJECT_ID/upload-file
version:
curl -H "X-Api-Token: $$CURSEFORGE_TOKEN" \
https://wow.curseforge.com/api/game/versions | \
jq ".[-1] | .id"