Skip to content

Commit

Permalink
feat: Update snapshot labels (#900)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
anaiberta authored Dec 6, 2024
1 parent e4cd483 commit 5ca968c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
;;
Expand Down

0 comments on commit 5ca968c

Please sign in to comment.