diff --git a/README.md b/README.md index 3bfbd820485682a8787d390facbfcf9e1a2e4c99..cbd8ef319b168cb1dd04816db3f19a489bf164a9 100644 --- a/README.md +++ b/README.md @@ -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