Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "22.14.0"
cache: "npm"
registry-url: "https://registry.npmjs.org"

Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "22.14.0"
registry-url: "https://registry.npmjs.org"

- name: Download build artifacts
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: "22.14.0"
registry-url: "https://registry.npmjs.org"

- name: Download build artifacts
Expand Down
194 changes: 0 additions & 194 deletions .github/workflows/release-binaries.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ jobs:
with:
tag_name: ${{ github.ref_name }}
generate_release_notes: true
files: |
dist/*.tar.gz
dist/checksums.txt
files: dist/*

npm-publish:
name: Publish SDK to npm
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ release: clean build-all
for bin in $(RELEASE_BINS); do \
archive="$(DIST_DIR)/$${bin}_$${goos}_$${goarch}.tar.gz"; \
LC_ALL=C tar -C "$${work_dir}" -czf "$${archive}" "$${bin}"; \
cp "$${work_dir}/$${bin}" "$(DIST_DIR)/$${bin}-$${goos}-$${goarch}"; \
done; \
done
rm -rf $(DIST_DIR)/darwin_* $(DIST_DIR)/linux_*
cd $(DIST_DIR) && \
(if command -v sha256sum >/dev/null 2>&1; then sha256sum *.tar.gz > checksums.txt; else shasum -a 256 *.tar.gz > checksums.txt; fi)
(if command -v sha256sum >/dev/null 2>&1; then sha256sum $$(ls -1 | grep -v checksums.txt) > checksums.txt; else shasum -a 256 $$(ls -1 | grep -v checksums.txt) > checksums.txt; fi)

clean:
rm -rf $(BIN_DIR) $(DIST_DIR)
Loading