From 2f5e541435389375e79bacfca95b62478706188f Mon Sep 17 00:00:00 2001 From: buptczq Date: Wed, 16 Dec 2020 21:59:58 +0800 Subject: [PATCH] CI: switch to GH Release --- .github/workflows/go.yml | 17 +++++++++-------- versioninfo.json | 6 +++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 60b41e3..5a06cec 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,10 +1,6 @@ name: Go -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push, pull_request] jobs: @@ -37,7 +33,12 @@ jobs: env: GOARCH: '386' - - name: Upload Build Artifacts - uses: actions/upload-artifact@v2.2.1 + - name: Upload Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: 'WinCryptSSHAgent*.exe' + files: 'WinCryptSSHAgent*.exe' + draft: true + prerelease: true diff --git a/versioninfo.json b/versioninfo.json index 6f46244..df12eea 100644 --- a/versioninfo.json +++ b/versioninfo.json @@ -3,13 +3,13 @@ "FileVersion": { "Major": 1, "Minor": 1, - "Patch": 2, + "Patch": 3, "Build": 0 }, "ProductVersion": { "Major": 1, "Minor": 1, - "Patch": 2, + "Patch": 3, "Build": 0 }, "FileFlagsMask": "3f", @@ -29,7 +29,7 @@ "OriginalFilename": "WinCryptSSHAgent.exe", "PrivateBuild": "", "ProductName": "WinCrypt SSH Agent", - "ProductVersion": "v1.1.2", + "ProductVersion": "v1.1.3", "SpecialBuild": "" }, "VarFileInfo": {