Fix workflow & version bump.

This commit is contained in:
Sean E. Russell
2020-02-29 16:33:32 -06:00
parent 102e544131
commit 855ebfd93c
3 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: Build Go binaries name: Create pre-release
on: on:
push: push:
@ -20,11 +20,16 @@ jobs:
env: env:
COMPRESS_FILES: true COMPRESS_FILES: true
- name: Get tag name
shell: bash
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})"
id: tag_name
- name: Pre-release - name: Pre-release
uses: "marvinpinto/action-automatic-releases@latest" uses: "marvinpinto/action-automatic-releases@latest"
with: with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ GITHUB_REF }}" automatic_release_tag: "${{ steps.tag_name.outputs.tag }}"
draft: true draft: true
title: "Release candidate" title: "Release candidate"
files: | files: |

View File

@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
> - **Fixed**: for any bug fixes. > - **Fixed**: for any bug fixes.
> - **Security**: in case of vulnerabilities. > - **Security**: in case of vulnerabilities.
## [3.4.4] - ?? ## [3.4.5] - ??
### Added ### Added

View File

@ -28,7 +28,8 @@ import (
const ( const (
appName = "gotop" appName = "gotop"
version = "3.4.4" // TODO: Set this at compile time; having to check this in sucks.
version = "3.4.5"
graphHorizontalScaleDelta = 3 graphHorizontalScaleDelta = 3
defaultUI = "cpu\ndisk/1 2:mem/2\ntemp\nnet procs" defaultUI = "cpu\ndisk/1 2:mem/2\ntemp\nnet procs"