From 5e3830a47b8da8d81f41da4a9cf4c60bfd0b9c4f Mon Sep 17 00:00:00 2001 From: Georg Krause <mail@georg-krause.net> Date: Thu, 30 Nov 2023 11:57:40 +0100 Subject: [PATCH] fix(release): Fix release process to properly include changelog Part-of: <https://dev.funkwhale.audio/funkwhale/ui/-/merge_requests/94> --- .yarnrc | 1 + README.md | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .yarnrc diff --git a/.yarnrc b/.yarnrc new file mode 100644 index 0000000..5cb9a09 --- /dev/null +++ b/.yarnrc @@ -0,0 +1 @@ +version-git-tag false diff --git a/README.md b/README.md index aa6c838..636512a 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,11 @@ Funkwhale UI components should be properly documented before release to make dev ## Release a new version ```sh -yarn version +export NEW_VERSION=0.4.0 +yarn version --new-version $NEW_VERSION yarn changelog -git add CHANGELOG.md && git commit --amend +git add package.json CHANGELOG.md +git commit -m "chore: bump version and update changelog" +git tag $NEW_VERSION git push --tags && git push ``` -- GitLab