Skip to content

Commit 8343c51

Browse files
authored
Correct usage of OfflineBuild flag (#1295)
1 parent 62f8ee7 commit 8343c51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/package-source-build/package.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
<Target Name="Pack">
77
<!-- Copy PVP to packages dir in order to package them together -->
8-
<Copy Condition="'$(OfflineBuild)' != 'true'" SourceFiles="$(PackageVersionPropsPath)" DestinationFolder="$(SourceBuiltPackagesPath)" />
9-
<Copy Condition="'$(OfflineBuild)' == 'true'" SourceFiles="$(GennedPackageVersionPropsPath)" DestinationFiles="$(SourceBuiltPackagesPath)PackageVersions.props" />
8+
<Copy Condition="'$(DotNetBuildOffline)' != 'true'" SourceFiles="$(PackageVersionPropsPath)" DestinationFolder="$(SourceBuiltPackagesPath)" />
9+
<Copy Condition="'$(DotNetBuildOffline)' == 'true'" SourceFiles="$(GennedPackageVersionPropsPath)" DestinationFiles="$(SourceBuiltPackagesPath)PackageVersions.props" />
1010
<PropertyGroup>
1111
<SourceBuiltTarballName>$(OutputPath)$(SourceBuiltArtifactsTarballName).$(VersionPrefix)-$(VersionSuffix).tar.gz</SourceBuiltTarballName>
1212
</PropertyGroup>

0 commit comments

Comments
 (0)