diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index e0884fe59..f6f9d808f 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -33,8 +33,8 @@ jobs: mkdir -p /tmp/ucm/ui UCM=$(stack path | awk '/local-install-root/{print $2}')/bin/unison cp $UCM /tmp/ucm/ucm - wget -O/tmp/ucm.zip https://github.com/unisonweb/codebase-ui/releases/download/latest/ucm.zip - unzip -d /tmp/ucm/ui /tmp/ucm.zip + wget -O/tmp/unisonLocal.zip https://github.com/unisonweb/codebase-ui/releases/download/latest/unisonLocal.zip + unzip -d /tmp/ucm/ui /tmp/unisonLocal.zip tar -c -z -f ucm-linux.tar.gz -C /tmp/ucm . - name: Upload linux artifact @@ -72,8 +72,8 @@ jobs: mkdir -p /tmp/ucm/ui UCM=$(stack path | awk '/local-install-root/{print $2}')/bin/unison cp $UCM /tmp/ucm/ucm - wget -O/tmp/ucm.zip https://github.com/unisonweb/codebase-ui/releases/download/latest/ucm.zip - unzip -d /tmp/ucm/ui /tmp/ucm.zip + wget -O/tmp/unisonLocal.zip https://github.com/unisonweb/codebase-ui/releases/download/latest/unisonLocal.zip + unzip -d /tmp/ucm/ui /tmp/unisonLocal.zip tar -c -z -f ucm-macos.tar.gz -C /tmp/ucm . - name: Upload macos artifact diff --git a/dev-ui-install.sh b/dev-ui-install.sh index e9aa6203b..12417a706 100755 --- a/dev-ui-install.sh +++ b/dev-ui-install.sh @@ -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"