From 9de8d7275be4f65f1da57b2dc51021ab473a7728 Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Mon, 11 Apr 2022 21:42:01 +0100 Subject: [PATCH 1/2] Update createrelease.yml --- .github/workflows/createrelease.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index 2c0d731d..d362683b 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -50,6 +50,12 @@ jobs: - name: Restore Dependencies run: dotnet restore TransactionMobile.Maui.sln + - name: Set Application Version + uses: TransactionProcessing/actions@0.0.4 + with: + filepath: 'TransactionMobile.Maui/TransactionMobile.Maui.csproj' + versionnumber: ${{ steps.get_version.outputs.VERSION }} + - name: Build Code run: dotnet build TransactionMobile.Maui/TransactionMobile.Maui.csproj -c Release -f net6.0-android --no-restore @@ -104,6 +110,12 @@ jobs: - name: Restore Dependencies run: dotnet restore TransactionMobile.Maui.sln + - name: Set Application Version + uses: TransactionProcessing/actions@0.0.4 + with: + filepath: 'TransactionMobile.Maui/TransactionMobile.Maui.csproj' + versionnumber: ${{ steps.get_version.outputs.VERSION }} + - name: Build Code run: msbuild TransactionMobile.Maui/TransactionMobile.Maui.csproj -r -p:Configuration=Release -p:RestorePackages=false -p:TargetFramework=net6.0-windows10.0.19041 /p:GenerateAppxPackageOnBuild=true @@ -150,7 +162,13 @@ jobs: - name: Restore Dependencies run: dotnet restore TransactionMobile.Maui.sln - + + - name: Set Application Version + uses: TransactionProcessing/actions@0.0.4 + with: + filepath: 'TransactionMobile.Maui/TransactionMobile.Maui.csproj' + versionnumber: ${{ steps.get_version.outputs.VERSION }} + - name: Build Code run: dotnet build TransactionMobile.Maui/TransactionMobile.Maui.csproj -c Release -f net6.0-maccatalyst --no-restore @@ -197,7 +215,13 @@ jobs: - name: Restore Dependencies run: dotnet restore TransactionMobile.Maui.sln - + + - name: Set Application Version + uses: TransactionProcessing/actions@0.0.4 + with: + filepath: 'TransactionMobile.Maui/TransactionMobile.Maui.csproj' + versionnumber: ${{ steps.get_version.outputs.VERSION }} + - name: Build Code run: dotnet build TransactionMobile.Maui/TransactionMobile.Maui.csproj -c Release -f net6.0-ios --no-restore From 157b16b35ac276f0cfa30264ef423d5048cee8b2 Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Mon, 11 Apr 2022 21:42:49 +0100 Subject: [PATCH 2/2] Update TransactionMobile.Maui.csproj --- TransactionMobile.Maui/TransactionMobile.Maui.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/TransactionMobile.Maui/TransactionMobile.Maui.csproj b/TransactionMobile.Maui/TransactionMobile.Maui.csproj index c9047353..74e60266 100644 --- a/TransactionMobile.Maui/TransactionMobile.Maui.csproj +++ b/TransactionMobile.Maui/TransactionMobile.Maui.csproj @@ -18,6 +18,7 @@ 1 + 1 True