Skip to content

Allow building the plugin against a staging SDK package - #59

Merged
callumalpass merged 2 commits into
mainfrom
feat/staging-build
Nov 11, 2026
Merged

callumalpass merged 2 commits into
mainfrom
feat/staging-build

Conversation

@callumalpass

Copy link
Copy Markdown
Collaborator

The plugin could be built for production and for LAB, but not for staging, so it could not be tried in Obsidian against staging before a server change reaches production.

  • --staging selects the staging environment, next to the existing --lab.
  • The packer still refuses an SDK package that was not made for the environment being built. A staging build with a LAB package fails.
  • The production build is unchanged, and the manifest version is not bumped, so merging this publishes nothing.

Checked: typecheck, lint, unit and native tests pass. A staging bundle builds from a staging-packaged SDK (source of 0.1.0-beta.180).

The SDK can be packaged for staging as well as LAB and production, but
the plugin's build only knew `--lab`. `--staging` now selects the
staging environment the same way. The packer still refuses a package
that was not made for the environment being built, so a LAB or
production package cannot be used for a staging build. The production
build is unchanged.
@callumalpass
callumalpass merged commit 656e68f into main Nov 11, 2026
2 checks passed
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