Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonye Jack authored Jul 31, 2020
1 parent 7183183 commit c2ceabd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Push to GCR Github Action
on:
release:
types: [published]

jobs:
update-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bumpversion release version.
uses: tj-actions/[email protected]
id: bumpversion
with:
paths: |
README.md
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
commit-message: Update from ${{ steps.bumpversion.outputs.old_version }} -> ${{ steps.bumpversion.outputs.new_version }}
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: bump-to-${{ steps.bumpversion.outputs.new_version }}
title: '[Upgrade] New Release ${{ steps.bumpversion.outputs.new_version }}'
body: |
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: |
upgrade
automated pr
assignees: jackton1
reviewers: jackton1
draft: false

0 comments on commit c2ceabd

Please sign in to comment.