Skip to content

Commit

Permalink
update create_release (add: branch_name option)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phong Nguyen committed Apr 13, 2021
1 parent 66bace4 commit b1a53cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def self.run(params)
"description": params[:description],
"milestones": [],
"name": params[:title],
"ref": git_branch,
"ref": params[:branch_name],
"tag_name": params[:tag]
}.to_json
res = http.request(req)
Expand Down Expand Up @@ -77,6 +77,11 @@ def self.available_options
key: :tag,
description: "Release tag",
optional: true
),
FastlaneCore::ConfigItem.new(
key: :branch_name,
description: "Git branch name",
optional: false
)
]
end
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.3" end end
module Fastlane module SemanticReleaseWorkflow VERSION = "1.0.4" end end

0 comments on commit b1a53cf

Please sign in to comment.