semantic-release / semantic-release/exec
Help to run exec only if `branch === main`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 164
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I didn't find a way to run some exec commands only in main.
I have a release config that has to run in main and dev. main is the production branch and dev is the development branch, on both, the release is similar, except that in main I want to execute a script that I can't in dev. How would I achieve this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the plugin configuration and branch-related execution flow; done means establishing a clear way to run an exec command on main but not dev.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, shell
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100