Skip to content

Commit fa930ee

Browse files
committed
fix: fix update-version and signature value in publish-release workflow
1 parent ee24e46 commit fa930ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
"pub_date": "${{ github.event.release.published_at }}",
2929
"platforms": {
3030
"darwin-aarch64": {
31-
"signature": $(curl -fsSL $(gh release view ${{ github.event.release.tag_name }} --json assets --jq '.assets[] | select(.name=="SyftBox.app.tar.gz.sig") | .url')),
31+
"signature": "$(curl -fsSL $(gh release view ${{ github.event.release.tag_name }} --json assets --jq '.assets[] | select(.name=="SyftBox.app.tar.gz.sig") | .url'))",
3232
"url": $(gh release view ${{ github.event.release.tag_name }} --json assets --jq '.assets[] | select(.name=="SyftBox.app.tar.gz") | .url')
3333
}
3434
}

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ update-version:
270270

271271
FRONTEND_VERSION=$(jq -r .version src-frontend/package.json)
272272
DESKTOP_VERSION=$(jq -r .version src-tauri/tauri.conf.json)
273-
DAEMON_VERSION=$(cd src-syftgo && go run ./cmd/client/main.go --version | sed -E 's/.*version ([0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)*).*/\1/')
273+
DAEMON_VERSION=$($(find src-tauri/binaries/ -name "syftbox_client*") --version | sed -E 's/.*version ([0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)*).*/\1/')
274274
COMMIT_HASH=$(git rev-parse --short HEAD)
275275

276276
echo "Frontend version: ${FRONTEND_VERSION}"

0 commit comments

Comments
 (0)