Skip to content

Commit

Permalink
Merge pull request #1731: [HOTFIX] Use one NuGet feed
Browse files Browse the repository at this point in the history
I pushed all of the packages we need to our custom feed. Script included.
  • Loading branch information
derrickstolee committed Mar 26, 2021
2 parents 7af7f4b + f6ba0e6 commit cd29de2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions GVFS/GVFS.Build/GVFS.cs.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@
<DefaultItemExcludes>$(DefaultItemExcludes);StyleCop.Cache;TestResults.xml</DefaultItemExcludes>
</PropertyGroup>

<PropertyGroup>
<NoError>NU1603</NoError>
<NoWarn>NU1603</NoWarn>
</PropertyGroup>
</Project>
9 changes: 9 additions & 0 deletions Scripts/push-all-packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Run this script from the repo root (in Git Bash) to
# push all local packages to the custom package repository.

for pkg in $(find /c/Users/dstolee/.nuget/packages -type f -name '*.nupkg')
do
nuget push -Source "Dependencies" -SkipDuplicate -ApiKey az "$pkg"
done
1 change: 0 additions & 1 deletion nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<packageSources>
<clear />
<add key="Dependencies" value="https://pkgs.dev.azure.com/gvfs/ci/_packaging/Dependencies/nuget/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<activePackageSource>
<add key="All" value="(Aggregate source)" />
Expand Down

0 comments on commit cd29de2

Please sign in to comment.