Files
sweetgum-server/.github/workflows/bump-version.yml
2022-10-16 10:04:35 +02:00

24 lines
538 B
YAML

# This workflow will tag the merge commit when merging a PR into the master branch.
name: Bump version
on:
pull_request:
types:
- closed
branches:
- master
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true