From 6ac40ece3544b8fc49d185bf9843b5bff588e909 Mon Sep 17 00:00:00 2001 From: Ana Berta <31777352+anaiberta@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:35:25 -0300 Subject: [PATCH 1/2] feat: Update snapshot labels Use the 'beta' and 'preview' instead of 'trunk' and 'stable' to identify the package version, following SemVer guidelines. Issue: 201475 --- .github/workflows/Build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index ab0b01ada..d2623e7e9 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -80,7 +80,7 @@ jobs: master) echo "## Is MASTER branch" - versionChangelist="-stable.$timestamp-SNAPSHOT" + versionChangelist="-preview.$timestamp-SNAPSHOT" SHOULD_DEPLOY='true' ;; @@ -89,7 +89,7 @@ jobs: pomMajorNumber=$(expr $pomMajorNumber + 100) - versionChangelist="-trunk.$timestamp-SNAPSHOT" + versionChangelist="-beta.$timestamp-SNAPSHOT" SHOULD_DEPLOY='true' ;; From 09eafd33987281dabbfe4d05eb317e53eb689a75 Mon Sep 17 00:00:00 2001 From: Ana Berta <31777352+anaiberta@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:37:50 -0300 Subject: [PATCH 2/2] Version info is defined in the snapshot label No need to increase the number to resolve the precedence. --- .github/workflows/Build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index d2623e7e9..9a96f7b31 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -85,10 +85,8 @@ jobs: ;; beta) - echo "## Is BETA branch, add +100 to major number" + echo "## Is BETA branch" - pomMajorNumber=$(expr $pomMajorNumber + 100) - versionChangelist="-beta.$timestamp-SNAPSHOT" SHOULD_DEPLOY='true' ;;