From 4c0ef1c22548160472a4c297092ed4c25fa84100 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Thu, 25 Jul 2024 09:31:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(main.yml):=20update=20versionin?= =?UTF-8?q?g=20scheme=20in=20packageExtension=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch the versioning scheme from `GitVersion_MajorMinorPatch` and `GitVersion_PreReleaseNumber` to `GitVersion_AssemblySemVer` for better alignment with semantic versioning practices. This change ensures that the versioning is more consistent and easier to manage. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9205bf2f3..353e82c5a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -205,7 +205,7 @@ jobs: shell: pwsh if: ${{ steps.Build.outcome == 'success' }} run: | - .\build\packageExtension.ps1 -version ${{ env.GitVersion_MajorMinorPatch }}.${{ env.GitVersion_PreReleaseNumber }} -outfolder "./staging" + .\build\packageExtension.ps1 -version ${{ env.GitVersion_AssemblySemVer }} -outfolder "./staging" - name: "List Package Files" shell: pwsh if: ${{ steps.Build.outcome == 'success' }}