diff options
| author | 2019-11-06 21:36:50 -0500 | |
|---|---|---|
| committer | 2019-11-06 21:36:50 -0500 | |
| commit | f1e4f3fc0c4caa29bcfcca75e73f2f360d2a8e42 (patch) | |
| tree | 7c184e88467e0851f23f5b88b67b3873fe03f179 /.ci/scripts/windows | |
| parent | Merge pull request #3057 from ReinUsesLisp/buffer-sub-data (diff) | |
| download | yuzu-f1e4f3fc0c4caa29bcfcca75e73f2f360d2a8e42.tar.gz yuzu-f1e4f3fc0c4caa29bcfcca75e73f2f360d2a8e42.tar.xz yuzu-f1e4f3fc0c4caa29bcfcca75e73f2f360d2a8e42.zip | |
Revert "ci: Rename build folder only on non-mainline builds"
Diffstat (limited to '.ci/scripts/windows')
| -rw-r--r-- | .ci/scripts/windows/upload.ps1 | 9 | ||||
| -rw-r--r-- | .ci/scripts/windows/upload.sh | 10 |
2 files changed, 3 insertions, 16 deletions
diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index 9fb99eaa3..3cb709924 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 | |||
| @@ -1,13 +1,6 @@ | |||
| 1 | param($BUILD_NAME) | ||
| 2 | |||
| 3 | $GITDATE = $(git show -s --date=short --format='%ad') -replace "-","" | 1 | $GITDATE = $(git show -s --date=short --format='%ad') -replace "-","" |
| 4 | $GITREV = $(git show -s --format='%h') | 2 | $GITREV = $(git show -s --format='%h') |
| 5 | 3 | $RELEASE_DIST = "yuzu-windows-msvc" | |
| 6 | if ("$BUILD_NAME" -eq "mainline") { | ||
| 7 | $RELEASE_DIST = "yuzu-windows-msvc-$BUILD_NAME" | ||
| 8 | } else { | ||
| 9 | $RELEASE_DIST = "yuzu-windows-msvc" | ||
| 10 | } | ||
| 11 | 4 | ||
| 12 | $MSVC_BUILD_ZIP = "yuzu-windows-msvc-$GITDATE-$GITREV.zip" -replace " ", "" | 5 | $MSVC_BUILD_ZIP = "yuzu-windows-msvc-$GITDATE-$GITREV.zip" -replace " ", "" |
| 13 | $MSVC_BUILD_PDB = "yuzu-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace " ", "" | 6 | $MSVC_BUILD_PDB = "yuzu-windows-msvc-$GITDATE-$GITREV-debugsymbols.zip" -replace " ", "" |
diff --git a/.ci/scripts/windows/upload.sh b/.ci/scripts/windows/upload.sh index 41d87159f..de73d3541 100644 --- a/.ci/scripts/windows/upload.sh +++ b/.ci/scripts/windows/upload.sh | |||
| @@ -6,14 +6,8 @@ REV_NAME="yuzu-windows-mingw-${GITDATE}-${GITREV}" | |||
| 6 | ARCHIVE_NAME="${REV_NAME}.tar.gz" | 6 | ARCHIVE_NAME="${REV_NAME}.tar.gz" |
| 7 | COMPRESSION_FLAGS="-czvf" | 7 | COMPRESSION_FLAGS="-czvf" |
| 8 | 8 | ||
| 9 | if [ "${RELEASE_NAME}" = "mainline" ]; then | 9 | mkdir "$REV_NAME" |
| 10 | DIR_NAME="${REV_NAME}_${RELEASE_NAME}" | ||
| 11 | else | ||
| 12 | DIR_NAME="${REV_NAME}" | ||
| 13 | fi | ||
| 14 | |||
| 15 | mkdir "$DIR_NAME" | ||
| 16 | # get around the permission issues | 10 | # get around the permission issues |
| 17 | cp -r package/* "$DIR_NAME" | 11 | cp -r package/* "$REV_NAME" |
| 18 | 12 | ||
| 19 | . .ci/scripts/common/post-upload.sh | 13 | . .ci/scripts/common/post-upload.sh |