mirror of
https://git.code.sf.net/p/archivemail/code
synced 2025-01-03 05:34:58 +00:00
Ported "tag" rule to svn, to the extent that's easily possible.
This commit is contained in:
parent
4c04117de8
commit
eb2b4a64f9
1 changed files with 10 additions and 2 deletions
12
Makefile
12
Makefile
|
@ -2,6 +2,7 @@
|
||||||
VERSION=0.6.2
|
VERSION=0.6.2
|
||||||
VERSION_TAG=v$(subst .,_,$(VERSION))
|
VERSION_TAG=v$(subst .,_,$(VERSION))
|
||||||
TARFILE=archivemail-$(VERSION).tar.gz
|
TARFILE=archivemail-$(VERSION).tar.gz
|
||||||
|
SVNROOT=https://svn.sourceforge.net/svnroot/archivemail
|
||||||
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -28,8 +29,15 @@ bdist_rpm: clobber doc
|
||||||
rm archivemail
|
rm archivemail
|
||||||
|
|
||||||
tag:
|
tag:
|
||||||
cvs tag -F current
|
# Overwriting tags at least doesn't work with svn << 1.4,
|
||||||
cvs tag -F $(VERSION_TAG)
|
# it silently creates a new subidr. It *may* work with
|
||||||
|
# svn 1.4, I haven't tested it. See svn bug #2188.
|
||||||
|
#cvs tag -F current
|
||||||
|
@if svn list "$(SVNROOT)/tags" | grep -qx "$(VERSION_TAG)/\?"; then \
|
||||||
|
echo "Tag '$(VERSION_TAG)' already exists, aborting"; \
|
||||||
|
else \
|
||||||
|
svn copy . "$(SVNROOT)/tags/$(VERSION_TAG)"; \
|
||||||
|
fi
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
(cd dist && lftp -c 'open upload.sf.net && cd incoming && put $(TARFILE)')
|
(cd dist && lftp -c 'open upload.sf.net && cd incoming && put $(TARFILE)')
|
||||||
|
|
Loading…
Reference in a new issue