Skip to content

Commit

Permalink
use deployment_id in release directory
Browse files Browse the repository at this point in the history
  • Loading branch information
katjacresanti committed Sep 4, 2024
1 parent 481198f commit 82948c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/egads/command/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ def trim
protected

def dir
RemoteConfig.release_dir(sha)
base_dir = RemoteConfig.release_dir(sha)
deployment_id_value = deployment_id if options[:deployment_id]

deployment_id_value ? "#{base_dir}_#{deployment_id_value}" : base_dir
end

def release_to
Expand Down

0 comments on commit 82948c9

Please sign in to comment.