Include log name in commit regardless

This commit is contained in:
Davide De Rosa 2024-09-30 21:15:50 +02:00
parent 0df95f9fab
commit e1922e7535
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 1 additions and 3 deletions

View File

@ -23,7 +23,6 @@ desc "Bump version"
lane :bump do |options| lane :bump do |options|
version = options[:version] version = options[:version]
build = options[:build] build = options[:build]
to_commit = []
increment_build_number(build_number: build) increment_build_number(build_number: build)
unless version.nil? || version.empty? unless version.nil? || version.empty?
increment_version_number_in_xcodeproj(version_number: version) increment_version_number_in_xcodeproj(version_number: version)
@ -38,11 +37,10 @@ lane :bump do |options|
file.write(log) file.write(log)
} }
system("vim", path) system("vim", path)
to_commit.append(logname)
end end
commit_version_bump( commit_version_bump(
message: "Bump version", message: "Bump version",
include: to_commit include: [logname]
) )
add_git_tag( add_git_tag(
includes_lane: false, includes_lane: false,