From 5ca968c63cffcd25b674449622ddb870c0ddc561 Mon Sep 17 00:00:00 2001 From: Ana Berta <31777352+anaiberta@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:39:44 -0300 Subject: [PATCH] feat: Update snapshot labels (#900) * Use the 'beta' and 'preview' instead of 'trunk' and 'stable' to identify the package version, following SemVer guidelines. * Version info is defined in the snapshot label No need to increase the number to resolve the precedence. Issue: 201475 --- .github/workflows/Build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 1c4f2cd18..04c7de72a 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -80,16 +80,14 @@ jobs: master) echo "## Is MASTER branch" - versionChangelist="-stable.$timestamp-SNAPSHOT" + versionChangelist="-preview.$timestamp-SNAPSHOT" SHOULD_DEPLOY='true' ;; beta) - echo "## Is BETA branch, add +100 to major number" + echo "## Is BETA branch" - pomMajorNumber=$(expr $pomMajorNumber + 100) - - versionChangelist="-trunk.$timestamp-SNAPSHOT" + versionChangelist="-beta.$timestamp-SNAPSHOT" SHOULD_DEPLOY='true' ;;