diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 669cf84c74..140475a490 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -292,7 +292,7 @@ jobs: # NB: ensure this stays in sync with get-version.sh if [[ "$version" =~ '+' ]]; then # if it has a suffix, split it into two parts - dotnet build -warnaserror --configuration Release /p:VersionPrefix=${version%+*} /p:VersionSuffix=${version#*+} + dotnet build -warnaserror --configuration Release /p:VersionPrefix=${version%+*} /p:SourceRevisionId=${version#*+} else dotnet build -warnaserror --configuration Release /p:VersionPrefix=${version} fi