Skip to content

fix(ci): prevent npm-publish chmod step from failing on missing binaries#11

Merged
StefanSteiner merged 1 commit into
tableau:mainfrom
StefanSteiner:ssteiner/fix-publish-npm
May 18, 2026
Merged

fix(ci): prevent npm-publish chmod step from failing on missing binaries#11
StefanSteiner merged 1 commit into
tableau:mainfrom
StefanSteiner:ssteiner/fix-publish-npm

Conversation

@StefanSteiner
Copy link
Copy Markdown
Contributor

@StefanSteiner StefanSteiner commented May 18, 2026

Summary

  • Fix the "Restore executable bits on platform binaries" step in the npm-build-publish workflow which fails with exit code 1
  • Root cause: [[ -f "$f" ]] && chmod +x "$f" returns 1 under set -euo pipefail when the file doesn't exist (platform dirs without artifacts, or Windows .exe binaries not matching extensionless names)
  • Add || true to prevent exit-code leak and include .exe variants for Windows
  • Copy hyperdb-mcp/README.md into the hyperdb-mcp/npm/ publish directory so npmjs.com renders a package README instead of a blank page

Test plan

The "Restore executable bits" step failed because `[[ -f "$f" ]] && chmod +x "$f"`
returns exit code 1 under `set -euo pipefail` when the file doesn't exist (e.g.
platform dirs without artifacts, or Windows .exe binaries not matching extensionless
names). Add `|| true` and include .exe variants.
@StefanSteiner StefanSteiner merged commit bc9bee5 into tableau:main May 18, 2026
9 checks passed
@github-actions github-actions Bot mentioned this pull request May 18, 2026
StefanSteiner added a commit that referenced this pull request May 18, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>0.1.2</summary>

##
[0.1.2](v0.1.1...v0.1.2)
(2026-05-18)


### Bug Fixes

* **ci:** include README.md in hyperdb-mcp npm package
([c8ccc22](c8ccc22))
* **ci:** include README.md in hyperdb-mcp npm package
([#12](#12))
([b1ddb33](b1ddb33))
* **ci:** prevent npm-publish chmod step from failing on missing
binaries
([2708ee4](2708ee4))
* **ci:** prevent npm-publish chmod step from failing on missing
binaries ([#11](#11))
([bc9bee5](bc9bee5))
* **ci:** remove brew rust on macOS before installing toolchain
([b331607](b331607))
* **ci:** remove brew-rust uninstall steps that delete cargo/rustc on
new image
([af798f1](af798f1))
* **ci:** restructure release-please config for workspace version
inheritance
([d5ad018](d5ad018))
* **ci:** restructure release-please config for workspace version
inheritance ([#13](#13))
([fd18a8b](fd18a8b))
* **ci:** use simple release-type to avoid Cargo workspace member
walking
([3884162](3884162))
* **ci:** use simple release-type to avoid Cargo workspace member
walking ([#14](#14))
([42f0524](42f0524))
</details>

<details><summary>0.1.2</summary>

##
[0.1.2](v0.1.1...v0.1.2)
(2026-05-18)


### Bug Fixes

* **ci:** include README.md in hyperdb-mcp npm package
([c8ccc22](c8ccc22))
* **ci:** include README.md in hyperdb-mcp npm package
([#12](#12))
([b1ddb33](b1ddb33))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant