Skip to content

Commit 3816a0b

Browse files
committed
Add bash script that pushes all local packages
1 parent ba7882f commit 3816a0b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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 $(pwd)/../packages -type f -name '*.nupkg')
7+
do
8+
nuget push -Source "Dependencies" -SkipDuplicate -ApiKey az "$pkg"
9+
done

0 commit comments

Comments
 (0)