Comments (4)
Fixed this by adding explicitly
like this without npm
"publish": ["@semantic-release/github"]
but not sure why the npmPublish
flag is reflecting when the publish is not explicitly defined, and still need to define NPM_TOKEN
even if it was being used.
[
"@semantic-release/npm",
{
"npmPublish": false
}
]
from npm.
This question is answered in our FAQ: https://github.com/semantic-release/semantic-release/blob/master/docs/support/FAQ.md#can-i-skip-the-release-to-the-npm-registry
from npm.
This question is answered in our FAQ: https://github.com/semantic-release/semantic-release/blob/master/docs/support/FAQ.md#can-i-skip-the-release-to-the-npm-registry
Hi @pvdlg, yes the FAQ says when npmPublish
flag is set to false it will not publish to npm but that's not working for me, here are the additional details
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/github"
],
[6:19:24 AM] [semantic-release] [@semantic-release/npm] › ℹ Published [email protected] on https://registry.npmjs.org/
[6:19:24 AM] [semantic-release] › ✔ Completed step "publish" of plugin "@semantic-release/npm"
Here is the commit
Here is the log from travis
from npm.
Fixed this by adding
explicitly
like this without npm"publish": ["@semantic-release/github"]
but not sure why the
npmPublish
flag is reflecting when the publish is not explicitly defined, and still need to defineNPM_TOKEN
even if it was being used.[ "@semantic-release/npm", { "npmPublish": false } ]
When i explicitly define only github
in the publish step only then it is skipping the process of publishing to npm. Do the docs need some update ? because if so i will be happy to update them and the assets
is also not reflecting when it is configured as it is defined in docs --> https://github.com/semantic-release/github#usage 🤔
from npm.
Related Issues (20)
- npm publish looks for package.json at disk root HOT 3
- Incompatible with Yarn (Berry) HOT 1
- a `Cannot read properties of null (reading 'matches'` error when using multi-semantic-release HOT 8
- Use clean-publish
- fix vulnerability with http-cache-semantics <4.1.0 HOT 4
- Why support of legacy auth was dropped? HOT 2
- pkgRoot property not working HOT 1
- Provenance support not working? HOT 1
- npm whoami failing HOT 3
- `package.json` version not updated, despite correct plugin ordering HOT 1
- Set --no-workspaces with npm version HOT 2
- Command failed with exit code 1: npm version 0.22.2 --userconfig HOT 2
- error on publishing HOT 1
- Publishing failed since update from [email protected] to [email protected] with files mentioned in .gitignore HOT 6
- Update a package.json in a sub folder
- CVE-2023-42282 HOT 1
- Support for custom package.json properties to write changelist entries
- NPM Audit Signatures issue on 11.0.3 HOT 2
- Failed step "prepare" of plugin "@semantic-release/npm" due to reading malformed path HOT 11
- ERR_INVALID_AUTH triggered by semantic-release npm despite not having this field set in checkout directory HOT 11
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 npm.