From 7d97a037f667da841af4ec1f81d456acfb4296c3 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Fri, 23 Aug 2024 15:59:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB(makefile)=20b?= =?UTF-8?q?ump-packages-version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create the command bump-packages-version in Makefile. This command will bump the version of all the javascript packages in the project. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 2dfb70ad..2c0110fc 100644 --- a/Makefile +++ b/Makefile @@ -313,3 +313,13 @@ start-tilt: ## start the kubernetes cluster using kind tilt up -f ./bin/Tiltfile .PHONY: build-k8s-cluster +VERSION_TYPE ?= minor +bump-packages-version: ## bump the version of the project - VERSION_TYPE can be "major", "minor", "patch" + cd ./src/mail && yarn version --no-git-tag-version --$(VERSION_TYPE) + cd ./src/frontend/ && yarn version --no-git-tag-version --$(VERSION_TYPE) + cd ./src/frontend/apps/e2e/ && yarn version --no-git-tag-version --$(VERSION_TYPE) + cd ./src/frontend/apps/impress/ && yarn version --no-git-tag-version --$(VERSION_TYPE) + cd ./src/frontend/apps/y-webrtc-signaling/ && yarn version --no-git-tag-version --$(VERSION_TYPE) + cd ./src/frontend/packages/eslint-config-impress/ && yarn version --no-git-tag-version --$(VERSION_TYPE) + cd ./src/frontend/packages/i18n/ && yarn version --no-git-tag-version --$(VERSION_TYPE) +.PHONY: bump-packages-version