Skip to content

Commit

Permalink
Hot release for apache#398
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd committed Oct 15, 2024
1 parent 511f707 commit f30703d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 8 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci-build-release-napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ jobs:
name: macos-${{matrix.nodejs}}-${{matrix.arch}}
path: build/stage/*/*.tar.gz

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/stage/*/*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true

linux-napi:
name: Build NAPI ${{matrix.image}} - Node ${{matrix.nodejs}} - ${{matrix.cpu.platform}}
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -140,6 +149,15 @@ jobs:
name: ${{matrix.image}}-${{matrix.nodejs}}-${{matrix.cpu.platform}}
path: build/stage/*/*.tar.gz

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/stage/*/*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true

windows-napi:
name: Build NAPI windows - Node ${{matrix.nodejs}} - ${{matrix.arch}}
runs-on: windows-2022
Expand Down Expand Up @@ -209,3 +227,12 @@ jobs:
with:
name: windows-${{matrix.nodejs}}-${{matrix.arch}}
path: build/stage/*/*.tar.gz

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/stage/*/*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pulsar-client",
"version": "1.13.0-rc.0",
"name": "shibaodi-pulsar-client",
"version": "1.12.0-fix.1",
"description": "Pulsar Node.js client",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -61,8 +61,8 @@
"binary": {
"module_name": "pulsar",
"module_path": "./lib/binding/",
"host": "https://archive.apache.org/dist/pulsar/pulsar-client-node/",
"remote_path": "pulsar-client-node-{version}",
"host": "https://github.com/shibd/pulsar-client-node/releases/download/",
"remote_path": "v{version}",
"package_name": "napi-{platform}-{libc}-{arch}.tar.gz"
}
}

0 comments on commit f30703d

Please sign in to comment.