Bump Version

This commit is contained in:
metacubex 2022-11-27 19:50:54 +08:00
parent 7b473676a5
commit e66093c868
2 changed files with 31 additions and 22 deletions

View File

@ -1,11 +1,22 @@
name: GitHub CI
on: [push]
on: [ push ]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
first_step:
name: Delete current assets
runs-on: ubuntu-latest
steps:
- name: Delete current release assets
uses: andreaswilli/delete-release-assets-action@v2.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: Alpha
deleteOnlyFromDrafts: false
linux32_build:
name: Linux x86 Build
runs-on: ubuntu-latest
@ -22,14 +33,13 @@ jobs:
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
release: true
tag_name: Alpha
linux64_build:
name: Linux x86_64 Build
@ -47,14 +57,13 @@ jobs:
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
release: true
tag_name: Alpha
armv7_build:
name: Linux armv7 Build
@ -74,14 +83,13 @@ jobs:
name: subconverter_armv7
path: subconverter/
- name: Package Release
if: startsWith(github.ref, 'refs/tags/')
run: tar czf subconverter_armv7.tar.gz subconverter
- name: Draft Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: subconverter_armv7.tar.gz
draft: true
release: true
tag_name: Alpha
armhf_build:
name: Linux armhf Build
@ -107,6 +115,7 @@ jobs:
with:
files: subconverter_armhf.tar.gz
release: true
tag_name: Alpha
aarch64_build:
name: Linux aarch64 Build
@ -132,6 +141,7 @@ jobs:
with:
files: subconverter_aarch64.tar.gz
release: true
tag_name: Alpha
macos_build:
name: macOS Build
@ -149,14 +159,14 @@ jobs:
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
release: true
tag_name: Alpha
windows64_build:
name: Windows x86_64 Build
@ -168,7 +178,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
node-version: '16'
- uses: msys2/setup-msys2@v2
with:
update: true
@ -186,14 +196,13 @@ jobs:
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
release: true
tag_name: Alpha
windows32_build:
name: Windows x86 Build
@ -205,7 +214,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
node-version: '16'
- uses: msys2/setup-msys2@v2
with:
update: true
@ -223,11 +232,11 @@ jobs:
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
release: true
tag_name: Alpha

View File

@ -1,6 +1,6 @@
#ifndef VERSION_H_INCLUDED
#define VERSION_H_INCLUDED
#define VERSION "v0.7.2 Meta"
#define VERSION "v0.7.3 Meta"
#endif // VERSION_H_INCLUDED