cap-deploy-tagger 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/cap-deploy-tagger/tasks/tagger.rake +1 -1
- data/lib/cap-deploy-tagger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76d71f88b15abe3df2c9e23e3bc78c39fb1a2718
|
4
|
+
data.tar.gz: 793ae0087d381a4b8bc7fb98af22095222b13105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 453491102514dfd2c963e6377d88bebd609b5520cc3993e41082851eae93be0427038bdf58498cfad2f5b412ef9224de7aba642c017d9cbaf680cb83e980f9c7
|
7
|
+
data.tar.gz: 505fc694c160963ca23f90a6a5f3ddfda4e61099616ba7cb01b11f1541d6e0d759f1513c0994469c5ad158ed1b34524450c2b1b6d6a9894d08b99a442b9ad8f5
|
data/README.md
CHANGED
@@ -4,6 +4,11 @@
|
|
4
4
|
|
5
5
|
This gem allows you to automatically tag Git commits when you deploy with Capistrano.
|
6
6
|
|
7
|
+
## Compatibility
|
8
|
+
|
9
|
+
This gem will only work with Capistrano 3.x. For a similar gem that works with
|
10
|
+
Capistrano 2.x, use [capistrano-deploy-tagger](https://github.com/forward/capistrano-deploy-tagger).
|
11
|
+
|
7
12
|
## Why would you tag on deploy?
|
8
13
|
|
9
14
|
One reason you would want to tag on deploy is to keep track of what commit is currently
|
@@ -3,7 +3,7 @@ namespace :deploy do
|
|
3
3
|
desc "Tag deployed release"
|
4
4
|
task :tag do
|
5
5
|
if ENV['SKIP_DEPLOY_TAGGING'] || fetch(:skip_deploy_tagging, false)
|
6
|
-
puts "Skipped deploy tagging"
|
6
|
+
puts "[cap-deploy-tagger] Skipped deploy tagging"
|
7
7
|
else
|
8
8
|
tag = CapDeployTagger::Helper.tag(fetch(:deploy_tag, "deployed"), fetch(:stage))
|
9
9
|
puts "[cap-deploy-tagger] Tagged #{CapDeployTagger::Helper.latest_revision} with #{tag}"
|