From 8974c9894fbfdfd982dae80138131371cdde4595 Mon Sep 17 00:00:00 2001 From: Jan Loewe <jan.loewe@ptb.de> Date: Fri, 8 Jul 2022 10:01:32 +0200 Subject: [PATCH] chore(readme): improve publishing docs --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8cadff5..83ddc00 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,19 @@ Add the following to your `.npmrc`. message="chore(release): bump version to v%s" # if you want to sign the tag sign-git-tag=true + +@d-ptb:registry=https://gitlab1.ptb.de/api/v4/packages/npm/ + +# the following auth token should be a private one with write permission for the package registry +//gitlab1.ptb.de/api/v4/projects/:_authToken=<token> +//gitlab1.ptb.de/api/v4/packages/npm/:_authToken=<token> +//gitlab1.ptb.de/api/v4/projects/105/packages/npm/:_authToken=<token> + ``` + +### Publishing workflow + 1. Commit all changes 2. Bump the version with `npm version [major | minor | patch | ...]` 3. Push all commits to the remote -- GitLab