mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-10 23:42:31 +02:00
ci: gate releases on opencode payload verification
This commit is contained in:
parent
df96abe74c
commit
4967dad08c
3 changed files with 29 additions and 0 deletions
|
|
@ -58,6 +58,13 @@ if [[ -z "$OLD_VERSION" ]]; then
|
|||
fi
|
||||
echo "Bumping version: $OLD_VERSION -> $VERSION"
|
||||
|
||||
# Build and verify the packaged OpenCode payload before mutating any manifest
|
||||
# versions or creating a tag. This keeps a broken npm artifact from being
|
||||
# released via the manual script path.
|
||||
echo "Verifying OpenCode build and npm pack payload..."
|
||||
node scripts/build-opencode.js
|
||||
node tests/scripts/build-opencode.test.js
|
||||
|
||||
update_version() {
|
||||
local file="$1"
|
||||
local pattern="$2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue