Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Match UI release zip file of unisonLocal.zip
The Codebase UI changed its main artifact of ucm.zip to unisonLocal.zip, make sure we build using the right artifcat.
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
echo "This script downloads the latest codebase UI release" | ||
echo "This script downloads the latest Unison Local UI release" | ||
echo "and puts it in the correct spot next to the unison" | ||
echo "executable built by stack." | ||
echo "" | ||
|
||
stack build | ||
curl -L https://github.com/unisonweb/codebase-ui/releases/download/latest/ucm.zip --output ucm.zip | ||
curl -L https://github.com/unisonweb/codebase-ui/releases/download/latest/unisonLocal.zip --output unisonLocal.zip | ||
parent_dir="$(dirname -- $(stack exec which unison))" | ||
mkdir -p "$parent_dir/ui" | ||
unzip -o ucm.zip -d "$parent_dir/ui" | ||
unzip -o unisonLocal.zip -d "$parent_dir/ui" |