summaryrefslogtreecommitdiff
path: root/server/vendor/guzzlehttp/psr7/Makefile
diff options
context:
space:
mode:
authorArnaudVOTA <arnaud.vota@gmail.com>2016-01-27 11:04:02 +0100
committerArnaudVOTA <arnaud.vota@gmail.com>2016-01-27 11:04:02 +0100
commitb10e4679e0f0316bfe24098a84db040dcfc8d38f (patch)
tree3bdc7cb4b721a870eb9bab9696326071b1388ce6 /server/vendor/guzzlehttp/psr7/Makefile
parent5466ce78f00038e742ef2a108c755f57ede451f5 (diff)
parent81d5c2a6464771c9a180d0214706a2f65f0b1d18 (diff)
Merge remote-tracking branch 'refs/remotes/origin/master' into vota_overlay
Diffstat (limited to 'server/vendor/guzzlehttp/psr7/Makefile')
-rw-r--r--server/vendor/guzzlehttp/psr7/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/server/vendor/guzzlehttp/psr7/Makefile b/server/vendor/guzzlehttp/psr7/Makefile
index 9c21096..8b00b43 100644
--- a/server/vendor/guzzlehttp/psr7/Makefile
+++ b/server/vendor/guzzlehttp/psr7/Makefile
@@ -9,5 +9,21 @@ coverage:
view-coverage:
open artifacts/coverage/index.html
+check-tag:
+ $(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=4.2.1"))
+
+tag: check-tag
+ @echo Tagging $(TAG)
+ chag update $(TAG)
+ git commit -a -m '$(TAG) release'
+ chag tag
+ @echo "Release has been created. Push using 'make release'"
+ @echo "Changes made in the release commit"
+ git diff HEAD~1 HEAD
+
+release: check-tag
+ git push origin master
+ git push origin $(TAG)
+
clean:
rm -rf artifacts/*