Archive filename updates for consistency

This commit is contained in:
casey langen 2023-09-10 18:52:21 -07:00
parent 44829b0fd8
commit 1154783d80
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ elif [[ $FRIENDLY_ARCH_NAME == "x86_64" ]]; then
fi fi
OS_ARCH="${FRIENDLY_OS_NAME}_${FRIENDLY_ARCH_NAME}" OS_ARCH="${FRIENDLY_OS_NAME}_${FRIENDLY_ARCH_NAME}"
OUTNAME="musikcube_${OS_ARCH}_$VERSION" OUTNAME="musikcube_$VERSION_${OS_ARCH}"
OUTDIR="dist/$VERSION/$OUTNAME" OUTDIR="dist/$VERSION/$OUTNAME"
SCRIPTDIR=`dirname "$0"` SCRIPTDIR=`dirname "$0"`
CMAKE_TOOLCHAIN="" CMAKE_TOOLCHAIN=""

View File

@ -9,10 +9,10 @@ fi
function archive { function archive {
ARCH=$1 ARCH=$1
FILENAME="musikcube_win${ARCH}_${VERSION}" FILENAME="musikcube_${VERSION}_win${ARCH}"
echo "Processing $FILENAME..." echo "Processing $FILENAME..."
SRC_DIR="bin$ARCH" SRC_DIR="bin$ARCH"
DST_DIR="dist/$FILENAME" DST_DIR="dist/$VERSION/$FILENAME"
rm -rf "$DST_DIR" rm -rf "$DST_DIR"
mkdir -p "$DST_DIR/plugins" mkdir -p "$DST_DIR/plugins"
mkdir -p "$DST_DIR/themes" mkdir -p "$DST_DIR/themes"