Skip to content

chore: remove junk files from plugin dir and REVIEWER_REPLY from repo #10

chore: remove junk files from plugin dir and REVIEWER_REPLY from repo

chore: remove junk files from plugin dir and REVIEWER_REPLY from repo #10

Workflow file for this run

name: Build & Release Plugin
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 10.24.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build plugin
run: pnpm run build:plugin:release
- name: Get version from tag
id: get_version
run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: dist/codeideal-open-fields-*.zip
draft: false
prerelease: false
body: |
# Codeideal Open Fields v${{ steps.get_version.outputs.version }}
## Installation
1. Download `codeideal-open-fields-${{ steps.get_version.outputs.version }}.zip` below
2. Go to WordPress Admin → **Plugins** → **Add New**
3. Click **Upload Plugin** and select the ZIP file
4. Click **Install Now** and then **Activate Plugin**
## What's New
See the [full changelog](https://github.com/novincode/openfields/blob/main/CHANGELOG.md) for details.
---
**Codeideal Open Fields** - The free, open-source custom fields plugin for WordPress
[Documentation](https://openfields.codeideal.com/docs) | [GitHub](https://github.com/novincode/openfields)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}