Skip to content

Commit

Permalink
use better default tag, get windows working
Browse files Browse the repository at this point in the history
  • Loading branch information
thumperward committed Oct 10, 2023
1 parent df946c1 commit d29c230
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packaging/linux/buildpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ HERE=$(dirname "$0")
cd "${HERE}"
. ../functions.sh

TAG="${1:-HEAD}"
TAG="${1:-devtest-19700101}"

if [ -z ${2:-} ]; then
OUTPUTDIR=$(pwd)/../../build/linux
Expand Down
16 changes: 9 additions & 7 deletions packaging/windows/buildpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@ command -v convert >/dev/null 2>&1 || { echo >&2 "Windows packaging requires Ima
command -v python3 >/dev/null 2>&1 || { echo >&2 "Windows packaging requires python 3."; exit 1; }
command -v wine64 >/dev/null 2>&1 || { echo >&2 "Windows packaging requires wine64."; exit 1; }

if [ $# -ne "2" ]; then
echo "Usage: $(basename "$0") tag outputdir"
exit 1
fi

# Set the working dir to the location of this script
HERE=$(dirname "$0")
cd "${HERE}"
. ../functions.sh

TAG="$1"
OUTPUTDIR="$2"
TAG="${1:-devtest-19700101}"

if [ -z ${2:-} ]; then
OUTPUTDIR=$(pwd)/../../build/windows
mkdir -p $OUTPUTDIR
else
OUTPUTDIR="${2}"
fi

SRCDIR="$(pwd)/../.."
BUILTDIR="$(pwd)/build"
ARTWORK_DIR="$(pwd)/../artwork/"
Expand Down

0 comments on commit d29c230

Please sign in to comment.