Skip to content

Commit

Permalink
Updating version bump yml config for Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephendpmurphy committed Sep 30, 2020
1 parent f67187c commit f5877a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 51 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/release.yml

This file was deleted.

32 changes: 8 additions & 24 deletions .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,16 @@
name: Release
name: Version Bump & Release

on:
push:
branches:
- master

jobs:
build:
release-on-push:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@master
with:
fetch-depth: '0'
- name: Bump version and push tag
id: bump_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
RELEASE_BRANCHES: 'master'

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
- uses: rymndhng/release-on-push-action@master
with:
tag_name: ${{ bump_version.outputs.new_tag }}
release_name: Release ${{ bump_version.outputs.new_tag }}
body: |
'new release'
draft: false
prerelease: false
bump_version_scheme: minor

0 comments on commit f5877a2

Please sign in to comment.