0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Updated release to optionally take a targetRef

no issue

- this should allow us to pass in the branch if needed
This commit is contained in:
Daniel Lockyer 2021-02-09 11:51:33 +00:00
parent 810ef47561
commit 8e8b217d4e

View file

@ -92,7 +92,7 @@ module.exports.create = (options = {}) => {
method: 'POST',
body: {
tag_name: options.tagName,
target_commitish: 'main',
target_commitish: options.targetRef || 'main',
name: options.releaseName,
body: body.join(os.EOL),
draft: draft,