From daf0a09568c7333b8be11ad38988441eafe2b842 Mon Sep 17 00:00:00 2001 From: t-kikuc Date: Fri, 6 Sep 2024 10:12:18 +0900 Subject: [PATCH 1/5] fix for correct site's version Signed-off-by: t-kikuc --- RELEASE | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/RELEASE b/RELEASE index a01984e4c8..a9dcc15a66 100644 --- a/RELEASE +++ b/RELEASE @@ -1,6 +1,4 @@ -# Generated by `make release` command. -# DO NOT EDIT. -tag: v0.48.8 +tag: v0.48.8 # Generated by `make release` command. DO NOT EDIT. releaseNoteGenerator: showCommitter: false From 9e4cab5c753294eaf0dced11eebbce9e8010dfe0 Mon Sep 17 00:00:00 2001 From: t-kikuc Date: Fri, 6 Sep 2024 10:23:09 +0900 Subject: [PATCH 2/5] fix to keep comment Signed-off-by: t-kikuc --- hack/gen-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/gen-release.sh b/hack/gen-release.sh index ba9c68aed4..f5c1f171a4 100755 --- a/hack/gen-release.sh +++ b/hack/gen-release.sh @@ -25,4 +25,4 @@ echo "Prepare release for version $1" # Update release file RELEASE_FILE=RELEASE -sed -i '' "s/tag:.*/tag: $1/" $RELEASE_FILE +sed -i '' "s/tag:.* #/tag: $1 #/" $RELEASE_FILE From bf801ae4cfba763712c12b160de1e162e37b7e83 Mon Sep 17 00:00:00 2001 From: t-kikuc Date: Fri, 6 Sep 2024 10:38:31 +0900 Subject: [PATCH 3/5] Revert "fix to keep comment" This reverts commit 9e4cab5c753294eaf0dced11eebbce9e8010dfe0. Signed-off-by: t-kikuc --- hack/gen-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/gen-release.sh b/hack/gen-release.sh index f5c1f171a4..ba9c68aed4 100755 --- a/hack/gen-release.sh +++ b/hack/gen-release.sh @@ -25,4 +25,4 @@ echo "Prepare release for version $1" # Update release file RELEASE_FILE=RELEASE -sed -i '' "s/tag:.* #/tag: $1 #/" $RELEASE_FILE +sed -i '' "s/tag:.*/tag: $1/" $RELEASE_FILE From d022f0f27d59a5d9e7a4b02acae3314c2baa6139 Mon Sep 17 00:00:00 2001 From: t-kikuc Date: Fri, 6 Sep 2024 10:39:21 +0900 Subject: [PATCH 4/5] Revert "fix for correct site's version" This reverts commit daf0a09568c7333b8be11ad38988441eafe2b842. Signed-off-by: t-kikuc --- RELEASE | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE b/RELEASE index a9dcc15a66..a01984e4c8 100644 --- a/RELEASE +++ b/RELEASE @@ -1,4 +1,6 @@ -tag: v0.48.8 # Generated by `make release` command. DO NOT EDIT. +# Generated by `make release` command. +# DO NOT EDIT. +tag: v0.48.8 releaseNoteGenerator: showCommitter: false From 9612286e8ed9c7cfa48d5abb8b648c42b7a6e30f Mon Sep 17 00:00:00 2001 From: t-kikuc Date: Fri, 6 Sep 2024 10:45:42 +0900 Subject: [PATCH 5/5] fix Signed-off-by: t-kikuc --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c7cd61fc4..19c852d7f1 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ run/web: .PHONY: run/site run/site: - env RELEASE=$(shell head -n 1 RELEASE | cut -d ' ' -f 2) hugo server --source=docs + env RELEASE=$(shell grep '^tag:' RELEASE | awk '{print $$2}') hugo server --source=docs # Lint commands