Skip to content

Commit 968b02d

Browse files
committed
fix assignments#2
1 parent 4f62cdc commit 968b02d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/determine-version/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ runs:
4343
fi
4444
4545
BUILD_VERSION=""
46-
if [[ ! -f "${{ inputs.suffix }}" ]]; then
47-
BUILD_VERSION = "$(dotnet msbuild "$FILE" -nologo -p:VersionSuffix=${{ inputs.suffix }} -getProperty:${{ inputs.property }} | tr -d '\r')"
46+
if [[ ! "${{ inputs.suffix }}" ]]; then
47+
BUILD_VERSION="$(dotnet msbuild "$FILE" -nologo -p:VersionSuffix=${{ inputs.suffix }} -getProperty:${{ inputs.property }} | tr -d '\r')"
4848
else
49-
BUILD_VERSION = "$(dotnet msbuild "$FILE" -nologo -getProperty:${{ inputs.property }} | tr -d '\r')"
49+
BUILD_VERSION="$(dotnet msbuild "$FILE" -nologo -getProperty:${{ inputs.property }} | tr -d '\r')"
5050
fi
5151
5252
VERSION="$(dotnet msbuild "$FILE" -nologo -getProperty:${{ inputs.property }} | tr -d '\r')"

0 commit comments

Comments
 (0)