1 VERSION = $(shell cat VERSION)
2 NAME=image-configurations
3 TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
5 ifeq ($(VERSION), $(TAGVER))
14 git tag -a $(VERSION) -m " $(VERSION)"
15 git push --tags origin master
18 git archive --format=tar --prefix=$(NAME)-$(TAGVER)/ $(TAG) | \
19 bzip2 > $(NAME)-$(TAGVER).tar.bz2
22 git archive --format=tar --prefix=$(NAME)-$(TAGVER)/ $(TAG) | \
23 gzip > $(NAME)-$(TAGVER).tar.gz
26 python ./scripts/gitlog2changelog.py
29 osc branch -c Tizen:Base $(NAME)
30 rm home\:*\:branches\:Tizen:Base/$(NAME)/*tar.bz2
31 cp $(NAME)-$(VERSION).tar.bz2 home\:*\:branches\:Tizen:Base/$(NAME)
35 install: all install-data
38 @python scripts/gitlog2changelog.py
39 @echo 'Current versions:'
41 @echo 'Please specify the new version:'
42 @read NEWVER; echo $$NEWVER > VERSION; \
43 git commit -a -m "bump version to $$NEWVER"; \
44 git tag -m $$NEWVER $$NEWVER