Skip to content

new-release

new-release #1412

Workflow file for this run

name: Bump
on:
repository_dispatch:
types: [new-release]
workflow_dispatch:
jobs:
bump:
name: Bump
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Bump to latest release
run: ./bump.sh
- name: Commit
run: |
VERSION=$(cat version)
git config user.name "KoLmafia Bot"
git config user.email "<>"
git add Casks/kolmafia.rb
git commit -m "Bump to r${VERSION}"
git tag $VERSION
git push origin main
git push --tags