Skip to content

Merge pull request #204 from planetscale/update-data/2025-11-03_0344 #55

Merge pull request #204 from planetscale/update-data/2025-11-03_0344

Merge pull request #204 from planetscale/update-data/2025-11-03_0344 #55

Workflow file for this run

name: create release assets
on:
push:
branches:
- main
# limit when we create a release by the files changed:
paths:
- go.mod
- go.sum
- '**.go'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: checkout code with full history (unshallow)
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- name: install autotag binary
run: |
curl -sL https://git.io/autotag-install | sh -s -- -b "${RUNNER_TEMP}/bin"
echo "${RUNNER_TEMP}/bin" >> $GITHUB_PATH
- name: increment tag and create release
run: |
set -eou pipefail
new_version=$(autotag -vn)
gh release create v"${new_version}" --target main --title "v${new_version}" --generate-notes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}