Split out goliath addon for distribution (#23)
This commit is contained in:
parent
74a9232d94
commit
c639ec142d
7 changed files with 74 additions and 34 deletions
20
Makefile
20
Makefile
|
@ -1,5 +1,25 @@
|
|||
install:
|
||||
cp -r ATMe/ $$WOW_ADDON_DIR
|
||||
cp -r ATAutoReactivateGoliath/ $$WOW_ADDON_DIR
|
||||
|
||||
update:
|
||||
cp -r $$WOW_ADDON_DIR/ATMe .
|
||||
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 -s -H "X-Api-Token: $$CURSEFORGE_TOKEN" \
|
||||
https://wow.curseforge.com/api/game/versions | \
|
||||
jq ".[-1] | .id"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue