File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ if [[ "$SIGNED_URL" == "null" ]]; then
1212 exit 1
1313fi
1414
15- UPLOAD_RESPONSE=$( tar " ${BASE_PATH: +-C$BASE_PATH } " -cz " ${ARTIFACT_PATH:- dist} " | curl -v -X PUT \
15+ TARBALL=$( cd dist && npm pack --silent)
16+
17+ UPLOAD_RESPONSE=$( curl -v -X PUT \
1618 -H " Content-Type: application/gzip" \
17- --data-binary @- " $SIGNED_URL " 2>&1 )
19+ --data-binary " @dist/ $TARBALL " " $SIGNED_URL " 2>&1 )
1820
1921if echo " $UPLOAD_RESPONSE " | grep -q " HTTP/[0-9.]* 200" ; then
2022 echo -e " \033[32mUploaded build to Stainless storage.\033[0m"
Original file line number Diff line number Diff line change @@ -358,10 +358,12 @@ export namespace AppUpdateResponse {
358358 }
359359}
360360
361- export type AppListResponse = Array < AppListResponse . UnionMember0 > | Array < AppListResponse . UnionMember1 > ;
361+ export type AppListResponse =
362+ | AppListResponse . SpectrumConfigAppConfig
363+ | AppListResponse . SpectrumConfigPaygoAppConfig ;
362364
363365export namespace AppListResponse {
364- export interface UnionMember0 {
366+ export interface SpectrumConfigAppConfig {
365367 /**
366368 * App identifier.
367369 */
@@ -448,7 +450,7 @@ export namespace AppListResponse {
448450 tls ?: 'off' | 'flexible' | 'full' | 'strict' ;
449451 }
450452
451- export interface UnionMember1 {
453+ export interface SpectrumConfigPaygoAppConfig {
452454 /**
453455 * App identifier.
454456 */
You can’t perform that action at this time.
0 commit comments