File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,20 +35,25 @@ if [ -z "${NUGET_API_KEY}" ]; then
3535 exit 1
3636fi
3737
38- base_name=Apache.Arrow.${version}
39- for extension in nupkg snupkg; do
40- path=${base_name} .${extension}
41- rm -f ${path}
42- curl \
43- --fail \
44- --location \
45- --remote-name \
46- https://apache.bintray.com/arrow/nuget/${version} /${path}
38+ base_names=()
39+ base_names+=(Apache.Arrow.${version} )
40+ base_names+=(Apache.Arrow.Flight.${version} )
41+ base_names+=(Apache.Arrow.Flight.AspNetCore.${version} )
42+ for base_name in ${base_names[@]} ; do
43+ for extension in nupkg snupkg; do
44+ path=${base_name} .${extension}
45+ rm -f ${path}
46+ curl \
47+ --fail \
48+ --location \
49+ --remote-name \
50+ https://apache.bintray.com/arrow/nuget/${version} /${path}
51+ done
52+ dotnet nuget push \
53+ ${base_name} .nupkg \
54+ -k ${NUGET_API_KEY} \
55+ -s https://api.nuget.org/v3/index.json
4756done
48- dotnet nuget push \
49- ${base_name} .nupkg \
50- -k ${NUGET_API_KEY} \
51- -s https://api.nuget.org/v3/index.json
5257
5358echo " Success! The released NuGet package is available here:"
5459echo " https://www.nuget.org/packages/Apache.Arrow/${version} "
Original file line number Diff line number Diff line change 7777 --queue-path . \
7878 --queue-remote {{ queue_remote_url }} \
7979 upload-artifacts \
80- --pattern "arrow/csharp/artifacts/Apache.Arrow/Release/Apache.Arrow.*" \
80+ --pattern "arrow/csharp/artifacts/**/*.nupkg" \
81+ --pattern "arrow/csharp/artifacts/**/*.snupkg" \
8182 --sha {{ task.branch }} \
8283 --tag {{ task.tag }}
8384 env :
Original file line number Diff line number Diff line change @@ -1316,6 +1316,10 @@ tasks:
13161316 params :
13171317 run : ubuntu-csharp
13181318 artifacts :
1319+ - Apache.Arrow.Flight.AspNetCore.{no_rc_version}.nupkg
1320+ - Apache.Arrow.Flight.AspNetCore.{no_rc_version}.snupkg
1321+ - Apache.Arrow.Flight.{no_rc_version}.nupkg
1322+ - Apache.Arrow.Flight.{no_rc_version}.snupkg
13191323 - Apache.Arrow.{no_rc_version}.nupkg
13201324 - Apache.Arrow.{no_rc_version}.snupkg
13211325
You can’t perform that action at this time.
0 commit comments