-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADDED: PushDgmjrNuGetSoftware.targets file
CHANGED: Sdk.targets file - update Import Project line REMOVED: PushFeedz.io.targets file UPDATED: NuGetPush.deps.json file - removed some runtime dependencies for various libraries
- Loading branch information
Showing
4 changed files
with
29 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<Project> | ||
<Target Name="PushDgmjrNuGetSoftware" AfterTargets="Pack" DependsOnTargets="Pack;GetPackageVersion" Condition="'$(GeneratePackageOnBuild)' == 'true' And '$(DesignTimeBuild)' != 'true' And ('$(Configuration)' == 'Local' Or $(InitialTargets.Contains('PushLocal')))"> | ||
<NuGetPush.Tasks.GetNuGetApiKey | ||
Source="dgmjr.nuget.software" | ||
MSBuildProjectDirectory="$(MSBuildProjectDirectory)"> | ||
<Output TaskParameter="ApiKey" PropertyName="DGMJR_NUGET_SOFTWARE_API_KEY" /> | ||
</NuGetPush.Tasks.GetNuGetApiKey> | ||
<!-- <Message Text="DGMJR_NUGET_SOFTWARE_API_KEY: $(DGMJR_NUGET_SOFTWARE_API_KEY)" Importance="high" /> --> | ||
<Exec Command="dotnet nuget delete $(PackageId) $(PackageVersion) -s dgmjr.nuget.software --non-interactive -k:$(DGMJR_NUGET_SOFTWARE_API_KEY)" ContinueOnError="true" IgnoreExitCode="true" /> | ||
<Exec Command="dotnet nuget push $(PackageTargetPath) -s dgmjr.nuget.software --skip-duplicate -k:$(DGMJR_NUGET_SOFTWARE_API_KEY)" Condition="Exists('$(PackageTargetPath)')" IgnoreExitCode="true" /> | ||
<!-- <Warning Text="Deleting package $(PackageId), version $(PackageVersion) from Feedz.io and pushing a new version..." /> | ||
<NuGetPush.Tasks.DeleteAndPush | ||
Source="Feedz.io" | ||
MSBuildProjectDirectory="$(MSBuildProjectDirectory)" | ||
ApiKey="$(FEEDZ_IO_API_KEY)" | ||
PackageId="$(PackageId)" | ||
Version="$(PackageVersion)" | ||
PackagePath="$(PackageTargetPath)" /> --> | ||
</Target> | ||
</Project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters