Skip to content

Commit

Permalink
change commit mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein committed Oct 24, 2024
1 parent ac7a984 commit 9a9c10e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,15 @@ platform :android do
file.write("VERSION=#{app_version}")
end

sh("git add .")

git_commit(
message: "Updated version number for new release - #{app_version}",
path: "*",
allow_nothing_to_commit: true,
skip_git_hooks: true
)
sh("git add --all")
sh("git commit -am 'Updated version number for new release - #{app_version}'")

# git_commit(
# message: "Updated version number for new release - #{app_version}",
# path: "*",
# allow_nothing_to_commit: true,
# skip_git_hooks: true
# )

sh "git checkout main"
sh "git merge --no-ff release/#{app_version}"
Expand Down

0 comments on commit 9a9c10e

Please sign in to comment.