@team-supercharge/oasg 16.3.0-feature-aspdotnetcore-generator-f6a57a17.0 → 16.3.0-feature-aspdotnetcore-generator-a0d708a3.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": "16.3.0-feature-aspdotnetcore-generator-
|
3
|
+
"version": "16.3.0-feature-aspdotnetcore-generator-a0d708a3.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",
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
source $(dirname "$0")/../common.sh
|
4
|
+
|
5
|
+
cd out/$targetId
|
6
|
+
|
7
|
+
# pack
|
8
|
+
dotnet restore
|
9
|
+
dotnet build -c Release
|
10
|
+
dotnet pack -c Release -p:Version=$version -p:IsPackable=true
|
11
|
+
|
12
|
+
# publish
|
13
|
+
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?><configuration></configuration>" > nuget.config
|
14
|
+
nuget push "src/**/bin/Release/*.nupkg" -ConfigFile nuget.config -ApiKey "${apiKey}" -Source ${sourceUrl}
|
15
|
+
|
16
|
+
cd ../..
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
source $(dirname "$0")/../common.sh
|
4
|
-
|
5
|
-
cd out/$targetId
|
6
|
-
|
7
|
-
# pack
|
8
|
-
dotnet restore
|
9
|
-
dotnet build -c Release
|
10
|
-
dotnet pack -c Release -p:Version=$version -p:IsPackable=true
|
11
|
-
|
12
|
-
isWindows=false
|
13
|
-
if [[ "$OSTYPE" == "cygwin"* ]] || [[ "$OSTYPE" == "msys"* ]]; then
|
14
|
-
isWindows=true
|
15
|
-
fi
|
16
|
-
storePasswordOption=$([[ $isWindows == true ]] && echo "" || echo "--store-password-in-clear-text")
|
17
|
-
|
18
|
-
# publish
|
19
|
-
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?><configuration></configuration>" > nuget.config
|
20
|
-
dotnet nuget add source "${sourceUrl}" -n Feed -u User -p "${apiKey}" --configfile nuget.config $storePasswordOption
|
21
|
-
dotnet nuget push "src/**/bin/Release/*.nupkg" -s ${sourceUrl} -k AZ
|
22
|
-
|
23
|
-
cd ../..
|
File without changes
|
File without changes
|