semantic-release / semantic-release/exec
Allow for arrays of commands
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 164
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice if instead of:
{
"@semantic-release/exec",
{
"prepareCmd": "sed -i 's/<version>/${nextRelease.version}/' package.json && npm run build && tar -czf my.tar.gz * && zip my.zip *"
}
}
You could specify an array of commands instead:
{
"@semantic-release/exec",
{
"prepareCmd": [
"sed -i 's/<version>/${nextRelease.version}/' package.json",
"npm run build",
"tar -czf my.tar.gz *",
"zip my.zip *"
]
}
}
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
No source file, test, or entry point is named in the issue, so first locate the implementation and tests for prepareCmd. Confirm how the existing command string is handled, then verify that array syntax accepts the shown commands and executes them in order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, shell
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100