breznflow/.github/workflows/release.yml
Michael 066414724b release: v1.0.2
- Fix WordPress.org plugin review issues (nonce verification, input sanitization, output escaping)
- Embed page uses wp_enqueue_style/wp_enqueue_script with wp_head/wp_footer
- Update plugin author to NoSchmarrn.dev
- Shorten readme.txt short description to ≤150 chars
- Add GitHub Actions release workflow
- Add .gitignore
2026-04-14 11:21:48 +00:00

32 lines
683 B
YAML

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get version from tag
id: version
run: |
VERSION="${GITHUB_REF#refs/tags/v}"
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
- name: Create ZIP
run: zip -r breznflow.zip breznflow/
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: "BreznFlow v${{ steps.version.outputs.version }}"
files: breznflow.zip
generate_release_notes: true