From ba7882f4f78ad5d23c0d14a57e7f182759938fc1 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Fri, 26 Mar 2021 10:20:53 -0400 Subject: [PATCH 1/3] Remove second NuGet feed --- nuget.config | 1 - 1 file changed, 1 deletion(-) diff --git a/nuget.config b/nuget.config index b80beb9b40..fd92d2c47a 100644 --- a/nuget.config +++ b/nuget.config @@ -6,7 +6,6 @@ - From 3816a0b223e7b3c5e796aceec142c80dc2f95582 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Fri, 26 Mar 2021 10:47:51 -0400 Subject: [PATCH 2/3] Add bash script that pushes all local packages --- Scripts/push-all-packages.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Scripts/push-all-packages.sh diff --git a/Scripts/push-all-packages.sh b/Scripts/push-all-packages.sh new file mode 100644 index 0000000000..c0473f3d04 --- /dev/null +++ b/Scripts/push-all-packages.sh @@ -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 $(pwd)/../packages -type f -name '*.nupkg') +do + nuget push -Source "Dependencies" -SkipDuplicate -ApiKey az "$pkg" +done \ No newline at end of file From f6ba0e6d9faa8cd9b3e7ee266c4b6e7879352f40 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Fri, 26 Mar 2021 11:55:15 -0400 Subject: [PATCH 3/3] Don't warn about higher packages --- GVFS/GVFS.Build/GVFS.cs.props | 4 ++++ Scripts/push-all-packages.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/GVFS/GVFS.Build/GVFS.cs.props b/GVFS/GVFS.Build/GVFS.cs.props index 2d72f258a0..6b7cf63d88 100644 --- a/GVFS/GVFS.Build/GVFS.cs.props +++ b/GVFS/GVFS.Build/GVFS.cs.props @@ -25,4 +25,8 @@ $(DefaultItemExcludes);StyleCop.Cache;TestResults.xml + + NU1603 + NU1603 + diff --git a/Scripts/push-all-packages.sh b/Scripts/push-all-packages.sh index c0473f3d04..635314f39b 100644 --- a/Scripts/push-all-packages.sh +++ b/Scripts/push-all-packages.sh @@ -3,7 +3,7 @@ # Run this script from the repo root (in Git Bash) to # push all local packages to the custom package repository. -for pkg in $(find $(pwd)/../packages -type f -name '*.nupkg') +for pkg in $(find /c/Users/dstolee/.nuget/packages -type f -name '*.nupkg') do nuget push -Source "Dependencies" -SkipDuplicate -ApiKey az "$pkg" -done \ No newline at end of file +done