don't do full build all the time

This commit is contained in:
Jeffrey Picard 2021-07-24 04:17:42 -04:00
parent 61636f3619
commit fa2dc58831
3 changed files with 16 additions and 1 deletions

13
.github/workflows/build-short.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: 'Build Hub'
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.3
with:
go-version: 1.16.5
- run: go build .

View file

@ -2,6 +2,8 @@ name: 'Build Hub'
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest

View file

@ -328,7 +328,7 @@ def main():
parser.add_argument("--confirm", default=0, action="count",
help="without this flag, it will only print what it will do but will not actually do it")
parser.add_argument("--start-tag", help="custom starting tag for changelog generation")
parser.add_argument("action", choices=['test', 'current', 'major', 'minor', 'micro'])
parser.add_argument("action", choices=['test', 'current', 'major', 'date', 'micro'])
args = parser.parse_args()
if args.action == "test":