Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow for arrays of commands

Open
#345 0 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
50/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, shell
Domain
cli, release

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.

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 *"
    ]
  }
}
Dominant language
JavaScript
Stars
164
Forks
28
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from semantic-release/exec

All issues in semantic-release/exec

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.