ATAddons/Makefile

26 lines
732 B
Makefile
Raw Normal View History

install:
cp -r ATMe/ $$WOW_ADDON_DIR
2021-03-09 19:51:34 -05:00
cp -r ATAutoReactivateGoliath/ $$WOW_ADDON_DIR
update:
cp -r $$WOW_ADDON_DIR/ATMe .
2021-03-09 19:51:34 -05:00
cp -r $$WOW_ADDON_DIR/ATAutoReactivateGoliath .
2021-03-09 21:47:04 -05:00
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 -s -H "X-Api-Token: $$CURSEFORGE_TOKEN" \
2021-03-09 21:47:04 -05:00
https://wow.curseforge.com/api/game/versions | \
jq ".[-1] | .id"