Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
4dd296e1
Commit
4dd296e1
authored
Jul 12, 2023
by
Jeffrey Morgan
Browse files
build app in publish script
parent
304f4194
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
scripts/publish.sh
scripts/publish.sh
+3
-1
No files found.
scripts/publish.sh
View file @
4dd296e1
...
@@ -12,13 +12,15 @@ ARCH=$(go env GOARCH)
...
@@ -12,13 +12,15 @@ ARCH=$(go env GOARCH)
go build
.
go build
.
npm
--prefix
app run make:sign
# Create a new tag if it doesn't exist.
# Create a new tag if it doesn't exist.
if
!
git rev-parse v
$VERSION
>
/dev/null 2>&1
;
then
if
!
git rev-parse v
$VERSION
>
/dev/null 2>&1
;
then
git tag v
$VERSION
git tag v
$VERSION
git push origin v
$VERSION
git push origin v
$VERSION
fi
fi
mkdir
dist
mkdir
-p
dist
cp
app/out/make/zip/
${
OS
}
/
${
ARCH
}
/Ollama-
${
OS
}
-
${
ARCH
}
-
${
VERSION
}
.zip dist/Ollama-
${
OS
}
-
${
ARCH
}
.zip
cp
app/out/make/zip/
${
OS
}
/
${
ARCH
}
/Ollama-
${
OS
}
-
${
ARCH
}
-
${
VERSION
}
.zip dist/Ollama-
${
OS
}
-
${
ARCH
}
.zip
cp
./ollama dist/ollama-
${
OS
}
-
${
ARCH
}
cp
./ollama dist/ollama-
${
OS
}
-
${
ARCH
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment