Skip to content

release: bump version -> 2.0.1 #24

release: bump version -> 2.0.1

release: bump version -> 2.0.1 #24

Workflow file for this run

name: release-pr
on:
push:
branches:
- 'release/[0-9]+.[0-9]+.[0-9]+*'
env:
CARGO_TERM_COLOR: always
jobs:
create-pr:
name: Create PR to bump version
runs-on: ubuntu-22.04
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Create a new PR to bump version
env:
DEBUG: api
run: |
VERSION=${{ github.ref_name }}
VERSION=${VERSION#release/}
gh pr create --title "Homebrew Release: Wukong ${VERSION}" --body "Bump version to ${VERSION}." --label "release"