Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add configurable commit hash for JS builds. #2751

Merged
merged 11 commits into from
Jan 8, 2025
10 changes: 10 additions & 0 deletions packages/proto/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ tasks:
--entryPoints src/index.js src/browser.js src/native.js

install:submodules:
vars:
scommit_hash: "a9692704da783ef3754b84a23fa1b1aa0654f920" # v0.58.0
cmds:
- git submodule update --init --recursive --remote
- |
(
cd src/services &&
if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then
git fetch --unshallow
fi &&
git checkout {{.scommit_hash}}
)

move:protobufs:
after:
Expand Down