Release-it ruft trotz requireUpstream: false immer noch von der Fernbedienung abJavaScript

Javascript-Forum
Anonymous
 Release-it ruft trotz requireUpstream: false immer noch von der Fernbedienung ab

Post by Anonymous »

Ich versuche, release-it zu verwenden, um Versionen lokal ohne Interaktion mit einem Remote-Repository zu verwalten (kein Abruf/kein Push). Obwohl ich explizit „requireUpstream“: false festgelegt habe, versucht das Tool während der Initialisierungsphase immer noch, eine Verbindung zur Fernbedienung herzustellen, was zu Problemen in meiner Offline-Umgebung führt. Ich verwende zuvor Bitbucket und SSH für das Remote-Repository.
Meine Konfiguration (

Code: Select all

.release-it.json
):[/b]

Code: Select all

{
"git": {
"requireUpstream": false,
"requireBranch": false,
"requireCleanWorkingDir": false,
"commit": true,
"tag": true,
"push": false,
"pushRepo": "",
"requireCommits": false
},
"github": {
"release": false
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
},
"hooks": {
"before:init": []
}
}
Fehler bei npx release-it:

Code: Select all

ERROR Unable to fetch from [email protected]:xxx/app.git
ssh: Could not resolve hostname bitbucket.org: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post