You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
What I'm trying to achieve is setting the next and latest tags based on branches. I want ship.js to trigger a new latest release when on branch main & next release when on branch next.
Describe the solution you'd like
Ability to modify the publishCommand by using git branches
Describe alternatives you've considered
N/A.
Additional context
N/A.
The text was updated successfully, but these errors were encountered:
({ isYarn, tag, defaultCommand, dir })=>defaultCommand
It may not have all the necessary information for you, but if you maintain main and next branches and have different major versions for them, then you could read package.json and according to decide which tag to publish it with. Does it make sense to you?
And asynchronous form of publishCommand function is not supported yet, so you'd better use something like fs.readFileSync() for it.
Let me know how it goes and if you have any question.
Is your feature request related to a problem? Please describe.
What I'm trying to achieve is setting the
next
andlatest
tags based on branches. I want ship.js to trigger a newlatest
release when on branchmain
&next
release when on branchnext
.Describe the solution you'd like
Ability to modify the publishCommand by using git branches
Describe alternatives you've considered
N/A.
Additional context
N/A.
The text was updated successfully, but these errors were encountered: