ops: further sed corrections

This commit is contained in:
Hunter Miller 2023-01-31 18:32:05 -06:00
parent 5db05c1b2b
commit 721bcf30f0

View File

@ -25,7 +25,7 @@ dojo "-garden!make-glob %work /glob"
gsutil cp zod/.urb/put/*.glob gs://bootstrap.urbit.org gsutil cp zod/.urb/put/*.glob gs://bootstrap.urbit.org
hash=$(ls -1 -c zod/.urb/put | head -1 | sed "s/glob-\([a-z0-9\.]*\).glob/\1/") hash=$(ls -1 -c zod/.urb/put | head -1 | sed "s/glob-\([a-z0-9\.]*\).glob/\1/")
sed "s/\( *glob\-http\+\['https:\/\/bootstrap.urbit.org\/glob\-\)[a-z0-9\.]*glob' *[a-z0-9\.]*\]/\1$hash.glob' $hash]/g" $2 sed -i "s/glob\-[a-z0-9\.]*glob' *[a-z0-9\.]*\]/$hash.glob' $hash]/g" $2
echo "hash=$(echo $hash)" >> $GITHUB_OUTPUT echo "hash=$(echo $hash)" >> $GITHUB_OUTPUT