Skip to content

bump patch version

bump patch version #4

Workflow file for this run

name: bump patch version
on:
workflow_dispatch:
jobs:
tag:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
token: ${{ secrets.EZ_BOT_TOKEN }}
- name: Install svu
run: |
# renovate: datasource=github-releases depName=caarlos0/svu
export SVU_VERSION="v2.2.0"
curl -Lo ./svu.tar.gz "https://github.com/caarlos0/svu/releases/download/${SVU_VERSION}/svu_${SVU_VERSION#v}_linux_amd64.tar.gz"
tar -C "$HOME" -xzf svu.tar.gz
rm svu.tar.gz
- name: Tag new version
run: |
echo "Bumping patch version"
git tag "$(~/svu patch)"
git push --tags