Skip to content

Commit

Permalink
Fix source_branch retrieving
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Egorov authored and ykyivskyi-gl committed Nov 12, 2024
1 parent 6abc54c commit 4f4e73f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ clone-snapshots:
@echo " ⏬ Cloning snapshots..."
@command git clone [email protected]:salemove/ios-widgets-snapshots.git SnapshotTests/__Snapshots__

source_branch := $(shell git rev-parse --abbrev-ref HEAD)
clone-snapshots-ci:
@echo " ⏬ Cloning snapshots..."
@command git clone $(repo_url) SnapshotTests/__Snapshots__
Expand Down
2 changes: 1 addition & 1 deletion bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ workflows:
inputs:
- content: |-
#!/usr/bin/env bash # fail if any commands fails set -e # make pipelines' return status equal the last command to exit with a non-zero status, or zero if all commands exit successfully set -o pipefail # debug log set -x
make clone-snapshots-ci repo_url="https://$GITHUB_USERNAME:$GITHUB_API_TOKEN@$SNAPSHOTS_REPO" destination_branch=$BITRISEIO_GIT_BRANCH_DEST
make clone-snapshots-ci repo_url="https://$GITHUB_USERNAME:$GITHUB_API_TOKEN@$SNAPSHOTS_REPO" source_branch=$BITRISE_GIT_BRANCH destination_branch=$BITRISEIO_GIT_BRANCH_DEST
- cache-pull@2: {}
- certificate-and-profile-installer@1: {}
- script:
Expand Down

0 comments on commit 4f4e73f

Please sign in to comment.