Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions wiki/eui-team-processes/releasing-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ yarn npm whoami # Should return an error about not being logged in

Ensure you're logged out of npm:
```sh
npm logout
yarn npm logout
```

Expand All @@ -147,11 +146,6 @@ Run a local registry to which the packages are publish instead of npm:
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
```

Login to the local registry (you can set any user/password, e.g. test/test)
```sh
yarn login
```

Update the root `.yarnrc.yml` file by adding:
```sh
npmRegistryServer: "http://localhost:4873"
Expand All @@ -160,6 +154,13 @@ unsafeHttpWhitelist:
- "localhost:4873"
```

Login to the local registry.
When asked for a user and password you can set anything, e.g. test/test.
When asked for an OTP token click `Enter`, as the local registry has no two-factor authentication configured and OTP is not needed.
```sh
yarn npm login
```

Disable checking if the working directory is clean in `packages/release-cli/src/git_utils.ts` by returning `true` in `isWorkingTreeClean()`:
```sh
# example
Expand Down