Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 64e7467

Browse files
committed
add release workflow
1 parent ace89c8 commit 64e7467

2 files changed

Lines changed: 33 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Create Plugin Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*' # Trigger on version tags
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Create plugin directory
17+
run: |
18+
mkdir -p frak-integration
19+
cp frak-integration.php frak-integration/
20+
21+
- name: Create ZIP file
22+
run: zip -r frak-integration.zip frak-integration
23+
24+
- name: Create Release
25+
id: create_release
26+
uses: softprops/action-gh-release@v2
27+
with:
28+
files: frak-integration.zip
29+
generate_release_notes: true
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

frak-integration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
/*
3-
Plugin Name: Frak Integration
3+
Plugin Name: Frak
44
Description: Adds Frak configuration to your WordPress site
5-
Version: 1.0
5+
Version: 0.1
66
Author: Frak-Labs
77
*/
88

0 commit comments

Comments
 (0)