ops: further sed corrections pt 2, debugging

This commit is contained in:
Hunter Miller 2023-01-31 18:39:21 -06:00
parent 721bcf30f0
commit 9aa1f0bcf7
2 changed files with 4 additions and 1 deletions

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 -i "s/glob\-[a-z0-9\.]*glob' *[a-z0-9\.]*\]/$hash.glob' $hash]/g" $2 sed -i "s/glob\-[a-z0-9\.]*glob' *[a-z0-9\.]*\]/glob-$hash.glob' $hash]/g" $2
echo "hash=$(echo $hash)" >> $GITHUB_OUTPUT echo "hash=$(echo $hash)" >> $GITHUB_OUTPUT

View File

@ -31,6 +31,9 @@ jobs:
with: with:
folder: 'ui/dist/*' folder: 'ui/dist/*'
docket: 'desk/desk.docket-0' docket: 'desk/desk.docket-0'
- run: |
git status
cat desk/desk.docket-0
- name: Commit Glob - name: Commit Glob
uses: EndBug/add-and-commit@v9 uses: EndBug/add-and-commit@v9
with: with: