Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Dec 18, 2023
1 parent b1dd794 commit 3427a1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer/create_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ echo
pnpm i --frozen-lockfile
echo
echo "Building frontend..."
if [[ -v "CI" ]]; then
if [[ -v CI ]]; then
# In CI, we have already done the frontend checks and can just build
pnpm vite build
else
Expand Down Expand Up @@ -114,12 +114,12 @@ FILENAME=InvokeAI-installer-$VERSION.zip
# Zip everything up
zip -r $FILENAME InvokeAI-Installer

if [[ ! -v "CI" ]]; then
if [[ ! -v CI ]]; then
# clean up, but only if we are not in a github action
rm -rf InvokeAI-Installer tmp dist ../invokeai/frontend/web/dist/
fi

if [[ -v "CI" ]]; then
if [[ -v CI ]]; then
# Set the output variable for github action
echo "INSTALLER_FILENAME=$FILENAME" >>$GITHUB_OUTPUT
echo "INSTALLER_PATH=installer/$FILENAME" >>$GITHUB_OUTPUT
Expand Down

0 comments on commit 3427a1f

Please sign in to comment.