Skip to content

Commit

Permalink
Use fetch-depth: 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Mar 13, 2024
1 parent c774ec1 commit 902b530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # Fetch all history and tags in order to extract Asana task URLs from git log

- name: Prepare fastlane
run: bundle install
Expand Down
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ release in progress and you're making a follow-up internal release that includes
).empty?

# Create the branch and push
Action.sh('git', 'fetch', '--tags')
# Action.sh('gh', 'api', '--method', 'POST', '/repos/duckduckgo/macos-browser/git/refs', '-f', "ref='refs/heads/#{release_branch}'", -f sha='aa218f56b14c9653891f9e74264a383fa43fefbd'
Action.sh('git', 'fetch', '--tags') unless is_ci
Action.sh('git', 'checkout', '-b', release_branch, source_version)
Action.sh('git', 'push', '-u', 'origin', release_branch)
end
Expand Down

0 comments on commit 902b530

Please sign in to comment.