Skip to content

Commit 2eece5c

Browse files
committed
new release
1 parent 1df87ef commit 2eece5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ apps := Hangouts.app Trello.app Digg.app Vine.app
1313
#apps := $(addsuffix .app, $(basename $(wildcard sites/*)))
1414
#apps := $(patsubst %, %.app, $(basename $(wildcard sites/*)))
1515
debug ?=
16-
debug += -D APP2JSLOG -D SAFARIDBG -D WK2LOG
16+
#debug += -D APP2JSLOG -D SAFARIDBG -D WK2LOG
1717
#^ need to make sure !release target
1818

19-
VERSION := 1.0.0
19+
VERSION := 1.1.0
2020
LAST_TAG != git describe --abbrev=0 --tags
2121
USER := kfix
2222
REPO := MacPin
@@ -90,7 +90,7 @@ install: $(apps)
9090
clean:
9191
-rm $(exec) *.o *.d *.zip
9292
-cd modules && rm *.o *.a *.swiftmodule *.swiftdoc
93-
-cd appdir && rm -rf *.app
93+
-cd $(appdir) && rm -rf *.app
9494

9595
uninstall:
9696
defaults delete $(exec) || true
@@ -118,9 +118,9 @@ tag:
118118

119119
$(ZIP): tag
120120
rm $(ZIP) || true
121-
zip -r $@ apps/*.app --exclude .DS_Store/
121+
cd $(appdir); zip -no-wild -r ../$@ $(apps) --exclude .DS_Store
122122

123-
release: $(ZIP)
123+
release: clean $(apps) $(ZIP)
124124
git push -f --tags
125125
posturl=$$(curl --data $(GH_RELEASE_JSON) "https://api.github.com/repos/$(USER)/$(REPO)/releases?access_token=$(GITHUB_ACCESS_TOKEN)" | jq -r .upload_url | sed 's/[\{\}]//g') && \
126126
dload=$$(curl --fail -X POST -H "Content-Type: application/gzip" --data-binary "@$(ZIP)" "$$posturl=$(ZIP)&access_token=$(GITHUB_ACCESS_TOKEN)" | jq -r .browser_download_url | sed 's/[\{\}]//g') && \

0 commit comments

Comments
 (0)