Skip to content

Commit

Permalink
Avoid overriding NuGetPackageVersion from environment variable (#122)
Browse files Browse the repository at this point in the history
We need to allow `NuGetPackageVersion` to be provided as an environment
variable.
Currenlty, the value is unconditionally reassigned to values provided 
in `service_fabric_common.props`.
  • Loading branch information
gobradovic authored Sep 26, 2024
1 parent 18a7a4d commit 6c2b10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion properties/service_fabric_nuget.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<!-- Set Versions. These are used for generating Nuget packages. -->
<PropertyGroup>
<NuGetPackageVersion>$(MajorVersion).$(MinorVersion).$(BuildVersion)</NuGetPackageVersion>
<NuGetPackageVersion Condition="'$(NuGetPackageVersion)' == ''">$(MajorVersion).$(MinorVersion).$(BuildVersion)</NuGetPackageVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 6c2b10a

Please sign in to comment.