Skip to content

Commit 27f6630

Browse files
committed
Pre release 1.15.0-rc.0
1 parent 2247a39 commit 27f6630

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed

.github/workflows/ci-build-release-napi.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ jobs:
8888
name: macos-${{matrix.nodejs}}-${{matrix.arch}}
8989
path: build/stage/*/*.tar.gz
9090

91+
- name: Upload binaries to release
92+
uses: svenstaro/upload-release-action@v2
93+
with:
94+
repo_token: ${{ secrets.GITHUB_TOKEN }}
95+
file: build/stage/*/*.tar.gz
96+
tag: ${{ github.ref }}
97+
overwrite: true
98+
file_glob: true
99+
91100
linux-napi:
92101
name: Build NAPI ${{matrix.image}} - Node ${{matrix.nodejs}} - ${{matrix.cpu.platform}}
93102
runs-on: ubuntu-22.04
@@ -140,6 +149,15 @@ jobs:
140149
name: ${{matrix.image}}-${{matrix.nodejs}}-${{matrix.cpu.platform}}
141150
path: build/stage/*/*.tar.gz
142151

152+
- name: Upload binaries to release
153+
uses: svenstaro/upload-release-action@v2
154+
with:
155+
repo_token: ${{ secrets.GITHUB_TOKEN }}
156+
file: build/stage/*/*.tar.gz
157+
tag: ${{ github.ref }}
158+
overwrite: true
159+
file_glob: true
160+
143161
windows-napi:
144162
name: Build NAPI windows - Node ${{matrix.nodejs}} - ${{matrix.arch}}
145163
runs-on: windows-2022
@@ -209,3 +227,12 @@ jobs:
209227
with:
210228
name: windows-${{matrix.nodejs}}-${{matrix.arch}}
211229
path: build/stage/*/*.tar.gz
230+
231+
- name: Upload binaries to release
232+
uses: svenstaro/upload-release-action@v2
233+
with:
234+
repo_token: ${{ secrets.GITHUB_TOKEN }}
235+
file: build/stage/*/*.tar.gz
236+
tag: ${{ github.ref }}
237+
overwrite: true
238+
file_glob: true

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "pulsar-client",
2+
"name": "shibaodi-pulsar-client",
33
"version": "1.15.0-rc.0",
44
"description": "Pulsar Node.js client",
55
"main": "index.js",
@@ -65,8 +65,8 @@
6565
"binary": {
6666
"module_name": "pulsar",
6767
"module_path": "./lib/binding/",
68-
"host": "https://archive.apache.org/dist/pulsar/pulsar-client-node/",
69-
"remote_path": "pulsar-client-node-{version}",
68+
"host": "https://github.com/shibd/pulsar-client-node/releases/download/",
69+
"remote_path": "v{version}",
7070
"package_name": "napi-{platform}-{libc}-{arch}.tar.gz"
7171
}
7272
}

0 commit comments

Comments
 (0)