Include log name in commit regardless
This commit is contained in:
parent
0df95f9fab
commit
e1922e7535
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue