mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-13 19:36:56 +00:00
CI: Update CI workflows to use Citron-specific naming and paths
This commit is contained in:
parent
257aad2431
commit
eec0f34204
65 changed files with 2596 additions and 10 deletions
28
.ci/scripts/windows/upload.sh
Executable file
28
.ci/scripts/windows/upload.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# SPDX-FileCopyrightText: 2019 citron Emulator Project
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
. .ci/scripts/common/pre-upload.sh
|
||||
|
||||
REV_NAME="citron-windows-${GITDATE}-${GITREV}"
|
||||
ARCHIVE_NAME="${REV_NAME}.tar.xz"
|
||||
COMPRESSION_FLAGS="-cJvf"
|
||||
|
||||
if [ "${RELEASE_NAME}" = "stable" ]; then
|
||||
DIR_NAME="${REV_NAME}"
|
||||
else
|
||||
DIR_NAME="${REV_NAME}_${RELEASE_NAME}"
|
||||
fi
|
||||
|
||||
mkdir "$DIR_NAME"
|
||||
# get around the permission issues
|
||||
cp -r package/* "$DIR_NAME"
|
||||
|
||||
if [ "${RELEASE_NAME}" = "stable" ]; then
|
||||
MSVC_BUILD_ZIP="citron-stable-msvc.zip"
|
||||
else
|
||||
MSVC_BUILD_ZIP="${REV_NAME}-msvc.zip"
|
||||
fi
|
||||
|
||||
. .ci/scripts/common/post-upload.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue