mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49: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
|
#!/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=${artifacts//$'//src/'/}
|
||||||
publishedServices=${publishedServices//$':+publish'/}
|
publishedServices=${publishedServices//$':+publish'/}
|
||||||
|
|
||||||
|
@ -19,7 +20,7 @@ addShaToServiceList() {
|
||||||
|
|
||||||
for service in $publishedServices; do
|
for service in $publishedServices; do
|
||||||
shaSum=$(getSha $service)
|
shaSum=$(getSha $service)
|
||||||
addShaToServiceList $service $shaSum
|
test $shaSum && addShaToServiceList $service $shaSum
|
||||||
done
|
done
|
||||||
|
|
||||||
echo $artifactList | jq
|
echo $artifactList | jq
|
Loading…
Add table
Reference in a new issue