make sure the release folder always exists during build process

git-svn-id: http://comictagger.googlecode.com/svn/trunk@474 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-02-08 22:14:18 +00:00
parent 34019ff338
commit c2ff11fab7
3 changed files with 4 additions and 2 deletions

View File

@ -14,9 +14,9 @@ clean:
make -C mac clean
make -C windows clean
rm -rf build
mkdir -p release
pydist:
mkdir -p release
rm -f release/*.zip
python setup.py sdist --formats=zip #,gztar
mv dist/comictagger-$(VERSION_STR).zip release
@ -58,5 +58,5 @@ upload:
svn_tag:
svn copy https://comictagger.googlecode.com/svn/trunk \
https://comictagger.googlecode.com/svn/tags/$(VERSION_STR) -m "Release $(VERSION_STR)"
https://comictagger.googlecode.com/svn/tags/$(VERSION_STR) -m "Release $(VERSION_STR)"

View File

@ -59,5 +59,6 @@ diskimage:
rm -f raw-$(DMG_FILE)
#move finished product to release folder
mkdir -p $(TAGGER_BASE)/release
mv $(DMG_FILE) $(TAGGER_BASE)/release

View File

@ -25,6 +25,7 @@ dist:
package:
echo !define RELEASE_STR $(VERSION) > $(TAGGER_BASE)\windows\nsis\release.nsh
$(NSIS_CMD) "$(TAGGER_BASE)\windows\nsis\comictagger.nsi"
mkdir -p "$(TAGGER_BASE)\release"
mv "$(TAGGER_BASE)\windows\nsis\ComicTagger*.exe" "$(TAGGER_BASE)\release"
clean: