mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
ci: fix bazel path in versions script
This commit is contained in:
parent
bc9243676b
commit
34c4039517
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
artifacts=$(bazel query //src/... 2>/dev/null | grep +publish)
|
||||
BAZEL=${BAZEL:-bazel}
|
||||
artifacts=$($BAZEL query //src/... 2>/dev/null | grep +publish)
|
||||
publishedServices=${artifacts//$'//src/'/}
|
||||
publishedServices=${publishedServices//$':+publish'/}
|
||||
|
||||
|
@ -19,7 +20,7 @@ addShaToServiceList() {
|
|||
|
||||
for service in $publishedServices; do
|
||||
shaSum=$(getSha $service)
|
||||
addShaToServiceList $service $shaSum
|
||||
test $shaSum && addShaToServiceList $service $shaSum
|
||||
done
|
||||
|
||||
echo $artifactList | jq
|
Loading…
Add table
Reference in a new issue