diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index e95a29ff..52ae15a1 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -447,6 +447,16 @@ jobs: --release-version "${{ steps.release_name.outputs.name }}" \ --package llmx + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + name: ${{ steps.release_name.outputs.name }} + tag_name: ${{ github.ref_name }} + files: dist/** + # Mark as prerelease only when the version has a suffix after x.y.z + # (e.g. -alpha, -beta). Otherwise publish a normal release. + prerelease: ${{ contains(steps.release_name.outputs.name, '-') }} + - uses: facebook/dotslash-publish-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/llmx-cli/scripts/build_npm_package.py b/llmx-cli/scripts/build_npm_package.py index 3b2bcc6f..8f79bfd8 100755 --- a/llmx-cli/scripts/build_npm_package.py +++ b/llmx-cli/scripts/build_npm_package.py @@ -31,7 +31,7 @@ def parse_args() -> argparse.Namespace: parser = argparse.ArgumentParser(description="Build or stage the LLMX CLI npm package.") parser.add_argument( "--package", - choices=("llmx", "llmx-responses-api-proxy", "llmx-sdk", "@valknarthing/llmx"), + choices=("llmx", "llmx-responses-api-proxy", "llmx-sdk"), default="llmx", help="Which npm package to stage (default: llmx).", ) @@ -76,9 +76,6 @@ def main() -> int: args = parse_args() package = args.package - # Normalize scoped package name to internal identifier - if package == "@valknarthing/llmx": - package = "llmx" version = args.version release_version = args.release_version if release_version: