Skip to content

Commit

Permalink
Move .env to fastlane dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mvitale1989 committed Nov 24, 2023
1 parent 3ee897b commit 2e368bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bump_build_number.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ git checkout $BRANCH_TO_BUILD
git pull

log "Generating env file required by Fastlane..."
tee .env <<EOF
tee fastlane/.env <<EOF
export INCREMENT_BUILD_NUMBER=true
export BUILD_NUMBER=${BUILD_NUMBER}
export COMMIT_CHANGES_TO_GIT=true
Expand All @@ -34,7 +34,7 @@ export GIT_LOCAL_BRANCH=${GIT_LOCAL_BRANCH}
EOF

log "Running the fastlane branch generation script"
(. .env && env && cd fastlane && bundle exec fastlane set_app_build_number)
(. cd fastlane && . .env && bundle exec fastlane set_app_build_number)

# TODO implement
git branch -l -a

0 comments on commit 2e368bf

Please sign in to comment.