From c2a60b766dbfb486bf1db9aecd77a6beb0c80494 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 6 Aug 2020 22:11:08 +1000 Subject: [PATCH] CI: Tag Windows builds so they can be updated --- .github/workflows/rolling-release.yml | 7 +++++++ src/scmversion/tag.h | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 src/scmversion/tag.h diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 8f5ca1eed..a265b4618 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -24,6 +24,13 @@ jobs: fetch-depth: 0 submodules: true + - name: Tag as release build + shell: cmd + run: | + echo #pragma once > src/scmversion/tag.h + echo #define SCM_RELEASE_TAG "latest" >> src/scmversion/tag.h + echo #define SCM_RELEASE_ASSET "duckstation-windows-x64-release.zip" >> src/scmversion/tag.h + - name: Compile release build shell: cmd run: | diff --git a/src/scmversion/tag.h b/src/scmversion/tag.h deleted file mode 100644 index 625600f10..000000000 --- a/src/scmversion/tag.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once -#define SCM_RELEASE_TAG "latest" -#define SCM_RELEASE_ASSET "duckstation-windows-x64-release.zip"