Skip to content
Snippets Groups Projects
Verified Commit 63648664 authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

fix(readme): adjust publishing instructions

parent adc68ba5
No related branches found
No related tags found
No related merge requests found
Pipeline #22991 failed
......@@ -77,21 +77,10 @@ express or implied.
See [the Licence](LICENSE.md) for the specific language governing permissions and limitations under the Licence.
## Publishing this package
Add the following to your `.yarnrc.yml` in your **home folder**. Do not commit your token!
```yml
npmRegistries:
https://gitlab1.ptb.de/api/v4/projects/105/packages/npm/:
npmAlwaysAuth: true
npmAuthToken: "<token>"
```
### Publishing workflow
## Publishing the package
1. Commit all changes
2. Bump the version with `yarn version [major | minor | patch | ...]`
3. Push all commits to the remote
4. Publish the package with `yarn npm publish`
4. Create a tag with the following name: `v<version>` (e.g. `v1.0.0`)
5. Push the tag to the remote, the CI will create a release and publish the package
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment