Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dermasmid committed Jun 6, 2024
1 parent 6e3b78e commit 2b9387a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,31 +67,3 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_TOKEN }}
run: npm publish

create_release:
runs-on: ubuntu-latest
needs: publish
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/Release/*.node
asset_name: my_binary_${{ matrix.os }}_${{ matrix.node-version }}.node
asset_content_type: application/octet-stream
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triplewhale/node-rdkafka",
"version": "4.0.33",
"version": "4.0.34",
"description": "Node.js bindings for librdkafka",
"librdkafka": "2.4.0",
"main": "lib/index.js",
Expand Down Expand Up @@ -43,7 +43,6 @@
],
"license": "MIT",
"devDependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"bluebird": "^3.5.3",
"jsdoc": "^4.0.2",
"jshint": "^2.10.1",
Expand All @@ -54,7 +53,8 @@
},
"dependencies": {
"bindings": "^1.3.1",
"nan": "^2.19.0"
"nan": "^2.19.0",
"@mapbox/node-pre-gyp": "^1.0.11"
},
"engines": {
"node": ">=16"
Expand Down

0 comments on commit 2b9387a

Please sign in to comment.