mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
da6edee450
* Better UI for S3 download and S3 TS SDK endpoints * gitignore typescript client node_modules * USe Windmill BE upload endpoint for TS SDK * Use WM backend endpoint in Python upload SDK endpoint * revert changes * Add expiration for Python * Add downaload endpoint * Add toggle for public S3 resource * revert changes to package.json * Add link to doc page * fix unauthorized bug
17 lines
381 B
Bash
Executable File
17 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
set -eou pipefail
|
|
script_dirpath="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
args=${1:-}
|
|
|
|
rm -rf "${script_dirpath}/dist"
|
|
|
|
${script_dirpath}/build.sh
|
|
rm "${script_dirpath}/client.ts"
|
|
rm "${script_dirpath}/s3Types.ts"
|
|
npm install
|
|
tsc
|
|
cp "${script_dirpath}/src/client.ts" ${script_dirpath}
|
|
cp "${script_dirpath}/src/s3Types.ts" ${script_dirpath}
|
|
npm publish ${args}
|