Skip to content

[XELP] Publish releases to GitHub Packages - #3

Merged
ljunkie merged 2 commits into
xelp/mainfrom
rob/npm-plexinc-scope
Aug 28, 2026
Merged

[XELP] Publish releases to GitHub Packages#3
ljunkie merged 2 commits into
xelp/mainfrom
rob/npm-plexinc-scope

Conversation

@ljunkie

@ljunkie ljunkie commented Aug 28, 2026

Copy link
Copy Markdown
Member

Adds xelp_npm_release.yml, which builds xelp/main and publishes it to GitHub Packages
as @plexinc/brighterscript, replacing the xelp/dist git tag release. It authenticates
with the built in GITHUB_TOKEN, so there is no publishing secret to store in this repo.

xelp_shadow_release.yml is renamed to .disabled rather than deleted, since both
workflows derive the same version and would fight over the same tag. Restoring it is a
rename, and it is a separate commit so it can be reverted on its own.

A workflow_dispatch workflow is only dispatchable from the default branch, so the first
run happens after this merges. Run it with dryRun: true first, which builds, lints, tests
and packs without publishing.

Replace the git tag and xelp/dist shadow release with a workflow that publishes
to GitHub Packages as @plexinc/<name>, matching how the other Plex client repos
consume private packages. Authentication is the workflow GITHUB_TOKEN, so the
repository stores no publishing secret, and the package name is rewritten in CI
rather than on xelp/main, leaving upstream merges unaffected.

The lint and test suites previously ran as a side effect of npm version, which
triggers preversion. Setting the version with npm pkg set skips lifecycle
scripts, so they now run as their own steps.

Consumers keep the upstream package name by installing through an npm alias, so
imports, bin names and plugin references do not change.
Both workflows compute the same MAJOR.MINOR.<date><PATCH> version and so want
the same tag, and the shadow release force pushes it, so running the two against
one commit means one clobbers the other. Park the shadow release rather than
delete it, matching the .disabled convention already used in this family of
repos, so restoring it is a rename.

roku-client is the only consumer of this fork, and it keeps installing from the
existing git tag until it moves to the @plexinc package, so nothing depends on
this workflow staying runnable in the meantime.
Copilot AI lite review requested due to automatic review settings August 28, 2026 02:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a manual GitHub Actions workflow to build and publish the xelp/main package to GitHub Packages under the @plexinc scope, then tag and create a GitHub Release (with an optional dry-run mode).

Changes:

  • Introduces a new release workflow with workflow_dispatch and dryRun input.
  • Computes a date-stamped version, rewrites package metadata for @plexinc, and publishes to GitHub Packages.
  • Tags the commit and creates a GitHub Release with install notes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/xelp_npm_release.yml
@ljunkie
ljunkie merged commit ac24c9d into xelp/main Aug 28, 2026
6 of 7 checks passed
@ljunkie
ljunkie deleted the rob/npm-plexinc-scope branch August 28, 2026 02:26
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.

2 participants