Comments (1)
Hi @vinayakkulkarni
Do you think publishCommand
works for you?
({ 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.
from shipjs.
Related Issues (20)
- update content of README.md
- setup: help with protected branch HOT 1
- Not a bug, just need help getting started... HOT 6
- Updating PR message
- Updating guide on `release:prepare` and `release:trigger` HOT 5
- What if we get rid of the concept of "mergeStrategy" ? HOT 2
- Improve GitHub Actions template HOT 9
- Generate .env when run shipjs setup HOT 5
- failure in setting npm config in shipjs trigger HOT 7
- Can't trigger release if there's only one commit HOT 3
- pullRequestReviewers octokit deprecation error HOT 2
- Dependency Dashboard
- [Vulnerability] An issue with shelljs in `shipjs-lib` internal package HOT 3
- Setup wizard showing incomplete branch names HOT 5
- "Git tag doesn't exist" in GitHub Actions HOT 2
- fix(deps): issue with one of the transitive dependency causing dependabot alert(s) HOT 1
- Not able to authenticate using Github Enterprise version HOT 10
- make `nextVersion` work with multiple versions
- trigger workflow fails to create a tag HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shipjs.