Skip to content

v0.5.0

v0.5.0 #2

Workflow file for this run

name: Inject version on release
on:
release:
types: [published]
permissions:
contents: write
jobs:
inject-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Run inject-version script
run: node scripts/inject-version.js
- name: Commit and push if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git diff --quiet && echo "No changes" && exit 0
git add -A
git commit -m "chore: inject version ${{ github.event.release.tag_name }} into landing page and README"
git push