Skip to content

Commit bd8a7a7

Browse files
committed
chore: fix build changed script
1 parent adbbbff commit bd8a7a7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/build-publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
steps:
1414
- run: sudo apt install moreutils -y
1515
- uses: actions/checkout@v3
16-
with:
17-
fetch-depth: 0
1816
- name: Download latest.json
1917
run: mc cp scrolls/druid-scrolls-staging/latest.json old-latest.json || true
2018
- name: Building new files

build-changed-scrolls.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo $changedScrolls
1919
for d in scrolls/*/*/*/ ; do
2020
b=$(basename $d)
2121
for i in $changedScrolls ; do
22-
if [[ "$i" == "$b" ]]; then
22+
if [ "$i" = "$b" ]; then
2323
tar -czvf scrolls/$b.tar.gz -C $d .
2424
fi
2525
done

0 commit comments

Comments
 (0)