mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
fix(frontend): abort publish.sh when package build fails
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user