Features:
- You can now override the default timestamp format by setting
:latest_deploy_timestamp_tag_formatin yourdeploy.rb.
Admin:
- Added the MIT license to the Gemspec.
Bugfixes:
- Resolved an issue with additional whitespace present in the Git revision hash.
Bugfixes:
- Resolved an issue with deployment tags being applied to commits which weren't yet pushed to the remote.
Features:
- Switch from using annotated tags to using lightweight tags, to ensure the git refs match between commit and tag.
Bugfixes:
- Fixed an issue in some environments where the
inproductiontag is not successfully moved if it already exists on the remote.
Features:
- Tagging should now be quicker, due to a reduction in the number of requests made to Git.
Features:
- You can now disable adding timestamp tags alongside the
inproductiontag by seting:update_deploy_timestamp_tagstofalsein yourdeploy.rb. - You can customise the timestamp tags prefix by setting
:latest_deploy_timestamp_tag_prefixin yourdeploy.rb, for exampleset :latest_deploy_timestamp_tag_prefix, "staging".
Fixed:
- The message about how to enable updating tags is no longer shown when an automatic deployment is performed (see 'Special Usage' for more on this feature).
Fixed:
- The homepage field in the gemspec was incorrect.
Fixed:
- The
deploy:tagger:tagtask was being incorrectly called after the deployment.
Renamed the gem to Capistrano-Deploy-Tagger. It now creates a specified tag with timestamp for each deploy, as well as a moving tag representing the latest deploy. This makes it easy to see at a glance which revisions were ever in production.
If you're migrating over from the 'capistrano-ec2-selfdeploy-tag' gem, you'll need to remove your previous configuration as property names have changed.
Features:
-
When you run a standard
cap deploy, theinproductiontag is updated to refer to the revision that was just deployed. -
In addition, the revision is also tagged in the format
deploy-YEARMONTHDAY-HOURMIN-SECSwhich gives you a history of revisions that were deployed to production. -
You can change the name of the production tag from
inproductionby setting:latest_deploy_tagin yourdeploy.rb. -
You can also prevent updating tags by setting
:update_deploy_tagsto false in yourdeploy.rb.
Fixed:
- Errors were being shown when initially creating the
inproductiontag.
Bugfix:
- Suddenly started failing on a subset of servers, related to not requiring rubygems or capistrano.
- Added a dummy
deploy:first_timetask. Override this task in your project if there are commands that need to be run the first time a project deploys, but not during each subsequent deploy.
Bugfixes:
- When
:update_selfdeploy_tagis set tofalse, we no longer exit with a status of 1.
Features:
- Running a standard
cap deploywill move theinproductiontag to whatever commit was just deployed. - You can
set :selfdeploy_tag, "your_tag_name"to change the tag name used. - You can prevent the tag from being moved for specific tasks by using
set :update_selfdeploy_tag, false. - Running
cap ec2_instance deployensures the deployment takes place from theinproductiontag and prevents the tag from being moved. Use this task with your autoscaling self deployments.