@team-supercharge/oasg 16.4.0-feature-aspdotnetcore-generator-7e226b49.0 → 16.4.0-feature-aspdotnetcore-generator-c801619b.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.4.0-feature-aspdotnetcore-generator-7e226b49.0",
3
+ "version": "16.4.0-feature-aspdotnetcore-generator-c801619b.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",
@@ -4,12 +4,18 @@ source $(dirname "$0")/../common.sh
4
4
 
5
5
  cd out/$targetId
6
6
 
7
+ # install dotnet
8
+ wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
9
+ chmod +x dotnet-install.sh
10
+ ./dotnet-install.sh --channel 8.0 --install-dir "$HOME/.dotnet"
11
+ export PATH="$HOME/.dotnet:$PATH"
12
+
7
13
  # pack
8
14
  dotnet restore
9
15
  dotnet build -c Release
10
16
  dotnet pack -c Release -p:Version=$version -p:IsPackable=true
11
17
 
12
18
  # publish
13
- dotnet nuget push "src/**/bin/Release/*.nupkg" --source $sourceUrl -k ${$apiKey:-CI_JOB_TOKEN}
19
+ dotnet nuget push "src/**/bin/Release/*.nupkg" --source $sourceUrl -k ${apiKey:-$CI_JOB_TOKEN}
14
20
 
15
21
  cd ../..