From 06699f9b205f616112e807248961475e59189bf4 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Mon, 13 Nov 2023 19:08:26 +0330 Subject: [PATCH] Fix release command --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 05a47450..333c0284 100644 --- a/Makefile +++ b/Makefile @@ -133,12 +133,10 @@ release: # Create a new tag for release. VERSION_STR="$${VERSION_ARRAY[0]}.$${VERSION_ARRAY[1]}.$${VERSION_ARRAY[2]}" && \ BUILD_NUMBER=$$(( $${VERSION_ARRAY[0]} * 10000 + $${VERSION_ARRAY[1]} * 100 + $${VERSION_ARRAY[2]} )) && \ echo "version: $${VERSION_STR}+$${BUILD_NUMBER}" && \ - sed -i "s/version: .*/version: $${VERSION_STR}\+$${BUILD_NUMBER}/g" pubspec.yaml && \ + sed -i "s/^version: .*/version: $${VERSION_STR}\+$${BUILD_NUMBER}/g" pubspec.yaml && \ git tag $${TAG} > /dev/null && \ git tag -d $${TAG} > /dev/null && \ git add pubspec.yaml CHANGELOG.md && \ - make sync_translate && \ - git add assets/translations/* && \ git commit -m "release: version $${TAG}" && \ echo "creating git tag : v$${TAG}" && \ git tag v$${TAG} && \