Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
feat(dev): create script for release
Browse files Browse the repository at this point in the history
  • Loading branch information
orblazer committed Nov 24, 2021
1 parent da01b93 commit e845619
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Release file
*.zip
9 changes: 9 additions & 0 deletions scripts/createRelease.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
go build

if [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "win32" ]];
then
"C:\Program Files\7-Zip\7z.exe" a -tzip release-windows.zip static/\* squirelo-voice-recognition.exe
else
zip -r release-linux.zip static squirelo-voice-recognition
fi

0 comments on commit e845619

Please sign in to comment.