Skip to content

Commit

Permalink
feat: Add configurable commit hash for JS builds. (#2751)
Browse files Browse the repository at this point in the history
* feat: Add configurable commit hash for JS builds.

Signed-off-by: gsstoykov <[email protected]>

* ci: debug failing checkout step

Signed-off-by: gsstoykov <[email protected]>

* ci: debug git log

Signed-off-by: gsstoykov <[email protected]>

* ci: try with different commit

Signed-off-by: gsstoykov <[email protected]>

* ci: debug failing checkout step unshallow

Signed-off-by: gsstoykov <[email protected]>

* fix: remove debug commands

Signed-off-by: gsstoykov <[email protected]>

* fix: is not shallow locally

Signed-off-by: gsstoykov <[email protected]>

* feat: point services commit hash to reference v0.58.1 tag

Signed-off-by: gsstoykov <[email protected]>

* fix: add valid tag

Signed-off-by: gsstoykov <[email protected]>

---------

Signed-off-by: gsstoykov <[email protected]>
  • Loading branch information
gsstoykov authored Jan 8, 2025
1 parent 801e102 commit 1407140
Showing 1 changed file with 10 additions and 0 deletions.
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

0 comments on commit 1407140

Please sign in to comment.