File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -878,9 +878,13 @@ jobs:
878
878
name : " Require released code"
879
879
command : |
880
880
LAST_TAG="aztec-packages-v$(jq -r '.["."]' .release-please-manifest.json)"
881
- git ls-remote --tags origin | grep -q "$LAST_TAG" && echo "Using code released from $LAST_TAG" || { echo "Skipping as $LAST_TAG is not yet published" && exit 0; }
882
- echo "INCLUDE_RELEASED_CODE=1" >> docs/.env
883
- git fetch origin --refetch --no-filter refs/tags/$LAST_TAG:refs/tags/$LAST_TAG
881
+ if git ls-remote --tags origin | grep "$LAST_TAG" > /dev/null; then
882
+ echo "Using code released from $LAST_TAG"
883
+ echo "INCLUDE_RELEASED_CODE=1" >> docs/.env
884
+ git fetch origin --refetch --no-filter refs/tags/$LAST_TAG:refs/tags/$LAST_TAG
885
+ else
886
+ echo "Skipping as $LAST_TAG is not yet published"
887
+ fi
884
888
- run :
885
889
name : " Build docs"
886
890
command : build docs
You can’t perform that action at this time.
0 commit comments