Skip to content

Commit

Permalink
chore: diy release upload instead
Browse files Browse the repository at this point in the history
  • Loading branch information
davisshaver committed Dec 12, 2024
1 parent 2a2c85f commit 980bcd7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/generate-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
type: 'zip'
filename: 'wp-farcaster.zip'
exclusions: '/*node_modules/* composer.* readme.md package.json .eslintrc.js .nvmrc .stylelintrc.json phpcs.xml tsconfig.json bun.lockb .vscode/ .wordpress-org/ .wordpress-org/* src/ src/* src/components/* src/hooks/* src/utils/* /*.git/* /*.github/*'
exclusions: '/*node_modules/* composer.* readme.md package.json .eslintrc.js .nvmrc .stylelintrc.json phpcs.xml tsconfig.json bun.lockb .vscode/ .wordpress-org/ .wordpress-org/* src/ src/* src/components/ src/components/* src/hooks/ src/hooks/* src/utils/ src/utils/* /*.git/* /*.github/*'

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -46,12 +46,9 @@ jobs:
path: wp-farcaster.zip

- name: Upload to release
uses: Shopify/[email protected]
with:
name: wp-farcaster.zip
path: wp-farcaster.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
content-type: application/zip
run: gh release upload ${{ github.event.release.tag_name }} wp-farcaster.zip
env:
GITHUB_TOKEN: ${{ github.TOKEN }}

- name: Unzip folder for WP.org
uses: montudor/action-zip@v1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-farcaster",
"version": "0.0.5",
"version": "0.0.6",
"description": "WP Farcaster connects your WordPress site to Farcaster.",
"author": "Davis Shaver",
"license": "GPL-2.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: WordPress, web3, Farcaster, Ethereum
Tested up to: 6.7.1
Requires at least: 6.7.0
Requires PHP: 7.0
Stable tag: 0.0.5
Stable tag: 0.0.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -26,7 +26,7 @@ WP Farcaster makes it easy to setup [Farcaster frames](https://docs.farcaster.xy

== Changelog ==

= 0.0.5 =
= 0.0.6 =
* Initial plugin release to WordPress.org

== Screenshots =
Expand Down
4 changes: 2 additions & 2 deletions wp-farcaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: WP Farcaster
* Plugin URI: https://wp-farcaster.davisshaver.com/
* Description: WP Farcaster connects your WordPress site to Farcaster.
* Version: 0.0.5
* Version: 0.0.6
* Author: Davis Shaver
* Author URI: https://davisshaver.com/
* License: GPL v2 or later
Expand All @@ -22,7 +22,7 @@

defined( 'ABSPATH' ) || exit;

define( 'WP_FARCASTER_VERSION', '0.0.5' );
define( 'WP_FARCASTER_VERSION', '0.0.6' );

define( 'WP_FARCASTER_API_NAMESPACE', 'wp-farcaster/v1' );
define( 'WP_FARCASTER_API_URL', get_site_url() . '/wp-json/' . WP_FARCASTER_API_NAMESPACE );
Expand Down

0 comments on commit 980bcd7

Please sign in to comment.