mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
d3d61d4acd
* fix(frontend): abort publish.sh when package build fails * fix(frontend): bundle oauth_connect.json into packaged components
9 lines
228 B
Bash
Executable File
9 lines
228 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Abort if the package build fails — otherwise npm publish ships the stale
|
|
# package/ directory left over from the last successful build.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
|
|
npm run package
|
|
npm publish
|