Sha256: 586ff41778e15a43ec539031b800259a04e52bd2361e77a7c41952a5ac9f9bb4

Contents?: true

Size: 312 Bytes

Versions: 3

Compression:

Stored size: 312 Bytes

Contents

namespace :git do
  before "deploy:update_code", "git:tag_attempted_deploy"
  task :tag_attempted_deploy do
    git_tag branch, "#{stage}.last-deploy"
  end

  task :tag_successful_deploy do
    git_tag branch, "#{stage}.last-successful-deploy"
  end
  after "deploy:smoke_test", "git:tag_successful_deploy"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conan-0.2.1 lib/conan/deployment/git.rb
conan-0.2.0 lib/conan/deployment/git.rb
conan-0.1.1 lib/conan/deployment/git.rb