From 9a60b5653c41f5090cef25f9cbbf32ff2378891d Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 2 Jun 2021 09:36:27 -0700 Subject: [PATCH] Update publish.yml Workaround the product versioning style for packaging on Windows. --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7d969f0d..8f357ab9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -124,6 +124,8 @@ jobs: - name: Package run: | $ProductVersion=$env:GITHUB_REF.Replace('refs/tags/', '') + # Workaround product versioning until we have a scheme that is representable as [\d.\d(.\d(.\d)?)?] + $ProductVersion=0.0.0.0 msbuild WiX/swift-doc.wixproj -nologo -p:Configuration=Release -p:OutputPath=$PWD\.build\artifacts -p:RunWixToolsOutOfProc=true -p:GRAPHVIZ_ROOT=C:\Library\graphviz-development -p:SWIFT_DOC_BUILD=$PWD\.build\release -p:ProductVersion=$ProductVersion - name: Upload the installer to the GitHub release