@team-supercharge/oasg 13.2.0-feature-csharp-functions-win-ef33d374.0 → 13.2.0-feature-csharp-functions-96504974.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-supercharge/oasg",
3
- "version": "13.2.0-feature-csharp-functions-win-ef33d374.0",
3
+ "version": "13.2.0-feature-csharp-functions-96504974.0",
4
4
  "description": "Node-based tool to lint OpenAPI documents and generate clients, servers and documentation from them",
5
5
  "author": "Supercharge",
6
6
  "license": "MIT",
@@ -10,6 +10,12 @@ dotnet build -c Release
10
10
  dotnet pack -c Release /p:Version=$version /p:IsPackable=true
11
11
 
12
12
  # push
13
- dotnet nuget push "src/**/bin/Release/*.nupkg" --api-key ${apiKey} --source ${sourceUrl}
13
+ if [[ "$OSTYPE" == "cygwin"* ]] || [[ "$OSTYPE" == "msys"* ]]; then
14
+ dotnet nuget push "src/**/bin/Release/*.nupkg" --api-key ${apiKey} --source ${sourceUrl}
15
+ else
16
+ echo "<?xml version=\"1.0\" encoding=\"utf-8\"?><configuration></configuration>" > nuget.config
17
+ dotnet nuget add source ${sourceUrl} -n Feed -u User -p ${apiKey} --configfile nuget.config --store-password-in-clear-text
18
+ dotnet nuget push "src/**/bin/Release/*.nupkg" -s ${sourceUrl} -k AZ
19
+ fi
14
20
 
15
21
  cd ../..