From: "Herton R. Krzesinski" <[email protected]>

The first release commit was always being created with the test
suffix because the default is to append ".test" if there is no
localversion or BUILDID given to dist-release. Move up the touch
localversion so we avoid it.

Signed-off-by: Herton R. Krzesinski <[email protected]>
---
 redhat/scripts/ci/ark-create-release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/redhat/scripts/ci/ark-create-release.sh 
b/redhat/scripts/ci/ark-create-release.sh
index 0872df92cba0..5f2f1b63f462 100755
--- a/redhat/scripts/ci/ark-create-release.sh
+++ b/redhat/scripts/ci/ark-create-release.sh
@@ -33,6 +33,7 @@ if [ -n "$BASE_RELEASE" ]; then
 fi
 
 git checkout os-build
+touch localversion
 make dist-release
 
 if git tag -v "$UPSTREAM_REF" > /dev/null 2>&1; then
@@ -50,7 +51,6 @@ for patch_url in $MR_PATCHES; do
        curl -sL "$patch_url" | git am
 done
 
-touch localversion
 make dist-release
 make dist-release-tag
 RELEASE=$(git describe)
-- 
GitLab
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to