Skip to content

Commit

Permalink
Fix git rev-parse for a hotfix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Sep 24, 2024
1 parent 88b8b96 commit 0ad3d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ release in progress and you're making a follow-up internal release that includes

# Create the branch and push
if is_ci
sha = Action.sh('git', 'rev-parse', source_version).chomp
sha = Action.sh('git', 'rev-parse', "#{source_version}^{}").chomp
Action.sh('gh', 'api', '--method', 'POST', '/repos/duckduckgo/macos-browser/git/refs', '-f', "ref=refs/heads/#{release_branch}", '-f', "sha=#{sha}")
Action.sh('git', 'fetch', 'origin')
Action.sh('git', 'checkout', release_branch)
Expand Down

0 comments on commit 0ad3d11

Please sign in to comment.