Skip to content

Instantly share code, notes, and snippets.

@treeder
Last active January 30, 2022 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save treeder/8b483c76d2c9d7665d8e908e5f4927b4 to your computer and use it in GitHub Desktop.
Save treeder/8b483c76d2c9d7665d8e908e5f4927b4 to your computer and use it in GitHub Desktop.
name: Bump version in git
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Bump version
run: |
git config --global user.email "github+actions@gmail.com"
git config --global user.name "Actions"
git fetch --tags
wget -O - https://raw.githubusercontent.com/treeder/bump/master/gitbump.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment