diff options
author | Sean E. Russell <ser@ser1.net> | 2020-02-29 16:33:32 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-02-29 16:33:32 -0600 |
commit | 855ebfd93c66ddddc657a525602b514c57ab5ac2 (patch) | |
tree | 8a42e5a0f0c1303207e36e51d511f042e7eb61f0 | |
parent | 102e5441313d489a501c1069a8bfd846011b192b (diff) |
Fix workflow & version bump.v3.4.5
-rw-r--r-- | .github/workflows/prerelease.yml | 9 | ||||
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | cmd/gotop/main.go | 3 |
3 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index c7a8594..85fa84c 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -1,4 +1,4 @@ -name: Build Go binaries +name: Create pre-release on: push: @@ -20,11 +20,16 @@ jobs: env: COMPRESS_FILES: true + - name: Get tag name + shell: bash + run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})" + id: tag_name + - name: Pre-release uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "${{ GITHUB_REF }}" + automatic_release_tag: "${{ steps.tag_name.outputs.tag }}" draft: true title: "Release candidate" files: | diff --git a/CHANGELOG.md b/CHANGELOG.md index b5b7380..a489c8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 > - **Fixed**: for any bug fixes. > - **Security**: in case of vulnerabilities. -## [3.4.4] - ?? +## [3.4.5] - ?? ### Added diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index 6afdf87..d243531 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -28,7 +28,8 @@ import ( const ( appName = "gotop" - version = "3.4.4" + // TODO: Set this at compile time; having to check this in sucks. + version = "3.4.5" graphHorizontalScaleDelta = 3 defaultUI = "cpu\ndisk/1 2:mem/2\ntemp\nnet procs" |