Passing enviornment variables to the script
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, shell
- Domain
- release
Research direction
Start with the publishCmd configuration and the scripts/publish.js entry point to trace how the command receives environment variables. Reproduce the reported configuration, then verify that the selected variable reaches scripts/publish.js when the publish command runs.
Written by the indexing model from the issue text.
Description
My "publishCmd" script needs environment variables to be set to run properly.
How could I pass them to the script?
I've tried the code below but with no success:
"@semantic-release/exec",
{
"publishCmd": "node ./scripts/publish.js ${env.CI_ENVIRONMENT_VARIABLE}"
}
- 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
- 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.
More from semantic-release/exec
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
semantic-release/exec#535 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
semantic-release/exec#480 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
semantic-release/exec#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
semantic-release/exec#413 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
semantic-release/exec#412 · 1 comment ·
All issues in semantic-release/exec
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
antfu-collective/icones#398 ·
-
ECmail.com Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
wesbos/burner-email-providers#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·