From 2dc08b36ea0e4f287c5805f4c51665f7d23b4e11 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Wed, 6 Feb 2013 19:13:07 +0000 Subject: [PATCH] Added use google of upload tool to makefile git-svn-id: http://comictagger.googlecode.com/svn/trunk@440 6c5673fe-1810-88d6-992b-cd32ca31540c --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9ef2f67..11f4884 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ TAGGER_BASE := $(HOME)/Dropbox/tagger/comictagger VERSION_STR := $(shell grep version $(TAGGER_BASE)/ctversion.py| cut -d= -f2 | sed 's/\"//g') - +PASSWORD := $(shell cat $(TAGGER_BASE)/project_password.txt) +UPLOAD_TOOL := $(TAGGER_BASE)/googlecode_upload.py all: clean clean: @@ -22,4 +23,8 @@ zip: svn_tag: svn copy https://comictagger.googlecode.com/svn/trunk \ https://comictagger.googlecode.com/svn/tags/$(VERSION_STR) -m "Release $(VERSION_STR)" - + +upload: + $(UPLOAD_TOOL) -p comictagger -s "ComicTagger $(VERSION_STR) Source" -l Featured,Type-Source -u beville -w $(PASSWORD) "release/comictagger-src-$(VERSION_STR).zip" + $(UPLOAD_TOOL) -p comictagger -s "ComicTagger $(VERSION_STR) Mac OS X" -l Featured,Type-Archive -u beville -w $(PASSWORD) "release/ComicTagger-$(VERSION_STR).dmg" + $(UPLOAD_TOOL) -p comictagger -s "ComicTagger $(VERSION_STR) Windows" -l Featured,Type-Installer -u beville -w $(PASSWORD) "release/ComicTagger v$(VERSION_STR).exe"