From 5aaa0f202769186e16e2c56c997554d84d02d0bb Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Mon, 20 Sep 2021 23:24:11 +0800 Subject: [PATCH] Bump version to v0.7.0 Update Actions scripts. --- .github/workflows/build.yml | 45 +++++++++++++++++++++++++++++++++++++ src/version.h | 2 +- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 683840aec..7f9bd4dc0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,15 @@ jobs: with: name: subconverter_linux32 path: subconverter/ + - name: Package Release + if: startsWith(github.ref, 'refs/tags/') + run: tar czf subconverter_linux32.tar.gz subconverter + - name: Draft Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: subconverter_linux32.tar.gz + draft: true linux64_build: name: Linux x86_64 Build @@ -27,6 +36,15 @@ jobs: with: name: subconverter_linux64 path: subconverter/ + - name: Package Release + if: startsWith(github.ref, 'refs/tags/') + run: tar czf subconverter_linux64.tar.gz subconverter + - name: Draft Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: subconverter_linux64.tar.gz + draft: true macos_build: name: macOS Build @@ -40,6 +58,15 @@ jobs: with: name: subconverter_darwin64 path: subconverter/ + - name: Package Release + if: startsWith(github.ref, 'refs/tags/') + run: tar czf subconverter_darwin64.tar.gz subconverter + - name: Draft Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: subconverter_darwin64.tar.gz + draft: true windows64_build: name: Windows x86_64 Build @@ -65,6 +92,15 @@ jobs: with: name: subconverter_win64 path: subconverter/ + - name: Package Release + if: startsWith(github.ref, 'refs/tags/') + run: 7z a subconverter_win64.7z subconverter/ + - name: Draft Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: subconverter_win64.7z + draft: true windows32_build: name: Windows x86 Build @@ -90,3 +126,12 @@ jobs: with: name: subconverter_win32 path: subconverter/ + - name: Package Release + if: startsWith(github.ref, 'refs/tags/') + run: 7z a subconverter_win32.7z subconverter/ + - name: Draft Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: subconverter_win32.7z + draft: true diff --git a/src/version.h b/src/version.h index cbe1eb762..2827f402c 100644 --- a/src/version.h +++ b/src/version.h @@ -1,6 +1,6 @@ #ifndef VERSION_H_INCLUDED #define VERSION_H_INCLUDED -#define VERSION "v0.6.4" +#define VERSION "v0.7.0" #endif // VERSION_H_INCLUDED