only push the tag we created
[p5sagit/Distar.git] / lib / Distar.pm
index 1083d40..f509188 100644 (file)
@@ -97,7 +97,7 @@ release: preflight
        git commit -a -m "Release commit for $(VERSION)"
        git tag v$(VERSION) -m "release v$(VERSION)"
        cpan-upload $(DISTVNAME).tar$(SUFFIX)
-       git push origin --tags HEAD
+       git push origin v$(VERSION) HEAD
 distdir: readmefile
 readmefile: create_distdir
        pod2text $(VERSION_FROM) >$(DISTVNAME)/README