mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Merge branch 'story/120259603-git-commit-hash' into staging
This commit is contained in:
commit
789fc10ec4
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ end
|
|||
desc 'Loads current commit hash'
|
||||
task load_commit_hash: :environment do
|
||||
queue! %(
|
||||
echo "CURRENT_COMMIT_HASH = '$(git --git-dir #{deploy_to}/scm rev-parse --short HEAD)'" > \
|
||||
echo "CURRENT_COMMIT_HASH = '$(git --git-dir #{deploy_to}/scm rev-parse --short #{branch})'" > \
|
||||
#{deploy_to}/shared/config/initializers/current_commit_hash.rb
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue