diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index a6fbe114..cc5fbee8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,7 +66,10 @@ ROOT_KEY=Repository Root: SVN_ROOT=`svn info |grep "$(ROOT_KEY)" |sed -e "s/$(ROOT_KEY)\s*//"` tag-release: distcheck - svn cp -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH)@$(SVN_REV) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION) + @svn cp -r$(SVN_REV) -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION) \ + || (echo "Tagging failed. Do you have local changes that are not committed?" \ + && echo "Try running `svn update`." && false) + @echo "Release Tagged." release: tag-release scp $(DIST_ARCHIVES) master.gnome.org: |