Skip to content

Commit

Permalink
trim hash in gitlog
Browse files Browse the repository at this point in the history
  • Loading branch information
Phong Nguyen committed Apr 28, 2021
1 parent 9cc03db commit 4a678be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def self.get_last_tag_hash(params)
def self.get_commits_from_hash(params)
commits = Helper::SemanticReleaseHelper.git_log(
pretty: '%s|%b|>',
start: params[:hash],
start: params[:hash].rstrip!,
debug: params[:debug]
)
commits.split("|>")
Expand Down Expand Up @@ -313,7 +313,7 @@ def self.output
['RELEASE_IS_NEXT_VERSION_HIGHER', 'True if next version is higher then last version'],
['RELEASE_IS_NEXT_VERSION_COMPATIBLE_WITH_CODEPUSH', 'True if next version is compatible with codepush'],
['RELEASE_LAST_TAG_HASH', 'Hash of commit that is tagged as a last version'],
['RELEASE_LAST_VERSION', 'Last version number - parsed from last tag.'],
['RELEASE_LiAST_VERSION', 'Last version number - parsed from last tag.'],
['RELEASE_NEXT_MAJOR_VERSION', 'Major number of the next version'],
['RELEASE_NEXT_MINOR_VERSION', 'Minor number of the next version'],
['RELEASE_NEXT_PATCH_VERSION', 'Patch number of the next version'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def self.available_options
),
FastlaneCore::ConfigItem.new(
key: :assets,
description: "Release assets",
description: "Release assets (apk link download,...)",
type:Hash,
optional: true
)
Expand Down
2 changes: 1 addition & 1 deletion lib/fastlane/plugin/semantic_release/version.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module Fastlane module SemanticReleaseWorkflow VERSION = "1.0.6" end end
module Fastlane module SemanticReleaseWorkflow VERSION = "1.0.7" end end

0 comments on commit 4a678be

Please sign in to comment.