Skip to content

Commit 321b207

Browse files
committed
Update checksum after build, instead of before, and bump versino to 2.63.0-audiosink.4
1 parent d177101 commit 321b207

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/workflows/lockdown_release.yml‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags:
66
- "v*"
7+
create:
8+
tags:
9+
- "v*"
710

811
env:
912
CARGO_TERM_COLOR: always
@@ -179,12 +182,6 @@ jobs:
179182
files: src/node/ringrtc-desktop-build-v${{ steps.version.outputs.version }}.tar.gz
180183
generate_release_notes: true
181184

182-
# Update package.json with checksum
183-
- name: Update prebuild checksum
184-
run: |
185-
sed -i 's/"prebuildChecksum": ""/"prebuildChecksum": "${{ steps.checksum.outputs.sha256 }}"/' package.json
186-
working-directory: src/node
187-
188185
# Install and build (skip install scripts - we already have the prebuilt binaries)
189186
- name: Install dependencies
190187
run: npm ci --ignore-scripts
@@ -194,6 +191,12 @@ jobs:
194191
run: npm run build
195192
working-directory: src/node
196193

194+
# Update package.json with checksum after build
195+
- name: Update prebuild checksum
196+
run: |
197+
npm pkg set config.prebuildChecksum="${{ steps.checksum.outputs.sha256 }}"
198+
working-directory: src/node
199+
197200
# Publish to npm
198201
- name: Publish to npm
199202
run: npm publish --access public --provenance

‎src/node/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lockdown-systems/ringrtc",
3-
"version": "2.63.0-audiosink.3",
3+
"version": "2.63.0-audiosink.4",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/lockdown-systems/ringrtc.git",

0 commit comments

Comments
 (0)