Skip to content

Commit

Permalink
build-all.sh: More small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jan 16, 2024
1 parent c5f1e49 commit a9e531a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function cleanup {
git checkout dev

# Apply stash after script
git stash pop stash@{$((git stash list | grep -w before-build-all) | cut -d "{" -f2 | cut -d "}" -f1)}
git stash pop stash@\{"$( (git stash list | grep -w before-build-all) | cut -d "{" -f2 | cut -d "}" -f1)"\}

test -e build/build-info.backup.json && rm build/build-info.backup.json

Expand All @@ -50,6 +50,9 @@ function cleanup {
mv temp/node_modules ./

rm -r temp

# TODO: Maybe we can disambiguate between success and failure states somehow
exit 0
}
trap cleanup EXIT

Expand Down

0 comments on commit a9e531a

Please sign in to comment.