1
0
Fork 0
forked from suyu/suyu
suyu/.ci/scripts/common/pre-upload.sh
2024-03-06 00:19:07 +03:30

12 lines
313 B
Bash

#!/bin/bash -ex
# SPDX-FileCopyrightText: 2024 suyu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Modified by AMA25 on 3/5/24
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
GITREV="`git show -s --format='%h'`"
ARTIFACTS_DIR="$PWD/artifacts"
mkdir -p "${ARTIFACTS_DIR}/"