Skip to content

Bump actions/checkout from 3 to 4 (#228) #95

Bump actions/checkout from 3 to 4 (#228)

Bump actions/checkout from 3 to 4 (#228) #95

Workflow file for this run

name: Tag
on:
push:
branches:
- master
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Tag new version
uses: butlerlogic/action-autotag@stable
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
strategy: regex
root: "ongabot/_version.py"
regex_pattern: '__version__ = \"((0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)\"'
tag_prefix: "v"