From 58ccdfd1c9ce79ea9ef570ec7084daabdc1e295a Mon Sep 17 00:00:00 2001 From: Keith Monihen Date: Tue, 14 Apr 2020 18:24:29 -0400 Subject: [PATCH 1/2] Adding bump version automation and releasing --- .github/workflows/build_and_deploy.yml | 2 -- .github/workflows/bump_version.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/bump_version.yml diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 4ec71d3..af09175 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -4,7 +4,6 @@ on: push: tags: - 'v*.*.*' - - '!v*.*.*-beta' branches-ignore: - '**' paths-ignore: @@ -53,4 +52,3 @@ jobs: args: release --skip-validate env: GITHUB_TOKEN: ${{ secrets.goreleaser }} - diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml new file mode 100644 index 0000000..839968b --- /dev/null +++ b/.github/workflows/bump_version.yml @@ -0,0 +1,24 @@ +name: Bump Version + +on: + push: + branches: + - master + tags-ignore: + - '**' + paths-ignore: + - 'docs/**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + fetch-depth: '0' + - name: Bump version and push tag + uses: anothrNick/github-tag-action@1.19.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + DEFAULT_BUMP: minor \ No newline at end of file From a2c657560a3200dcf2c1cee9dc4bdedee156637a Mon Sep 17 00:00:00 2001 From: Keith Monihen Date: Tue, 14 Apr 2020 18:32:10 -0400 Subject: [PATCH 2/2] Bump #major version --- .github/workflows/bump_version.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 839968b..b80675b 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -1,3 +1,5 @@ +# MAJOR Version: 1.x + name: Bump Version on: