Skip to content

Commit cd29de2

Browse files
Merge pull request #1731: [HOTFIX] Use one NuGet feed
I pushed all of the packages we need to our custom feed. Script included.
2 parents 7af7f4b + f6ba0e6 commit cd29de2

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

GVFS/GVFS.Build/GVFS.cs.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@
2525
<DefaultItemExcludes>$(DefaultItemExcludes);StyleCop.Cache;TestResults.xml</DefaultItemExcludes>
2626
</PropertyGroup>
2727

28+
<PropertyGroup>
29+
<NoError>NU1603</NoError>
30+
<NoWarn>NU1603</NoWarn>
31+
</PropertyGroup>
2832
</Project>

Scripts/push-all-packages.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# Run this script from the repo root (in Git Bash) to
4+
# push all local packages to the custom package repository.
5+
6+
for pkg in $(find /c/Users/dstolee/.nuget/packages -type f -name '*.nupkg')
7+
do
8+
nuget push -Source "Dependencies" -SkipDuplicate -ApiKey az "$pkg"
9+
done

nuget.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<packageSources>
77
<clear />
88
<add key="Dependencies" value="https://pkgs.dev.azure.com/gvfs/ci/_packaging/Dependencies/nuget/v3/index.json" />
9-
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
109
</packageSources>
1110
<activePackageSource>
1211
<add key="All" value="(Aggregate source)" />

0 commit comments

Comments
 (0)