Files
eden/.ci/scripts/windows/upload.sh
T

23 lines
504 B
Bash
Raw Normal View History

2019-07-13 21:34:40 -04:00
#!/bin/bash -ex
2022-05-15 02:06:02 +02:00
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
2019-07-13 21:34:40 -04:00
. .ci/scripts/common/pre-upload.sh
REV_NAME="yuzu-windows-mingw-${GITDATE}-${GITREV}"
2021-06-09 18:37:24 -04:00
ARCHIVE_NAME="${REV_NAME}.tar.xz"
COMPRESSION_FLAGS="-cJvf"
2019-07-13 21:34:40 -04:00
if [ "${RELEASE_NAME}" = "mainline" ]; then
DIR_NAME="${REV_NAME}"
else
DIR_NAME="${REV_NAME}_${RELEASE_NAME}"
fi
mkdir "$DIR_NAME"
2019-07-13 21:34:40 -04:00
# get around the permission issues
cp -r package/* "$DIR_NAME"
2019-07-13 21:34:40 -04:00
. .ci/scripts/common/post-upload.sh