Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #16 from OM4/feature/wp.org-release
Browse files Browse the repository at this point in the history
Publish plugin to WordPress.org
  • Loading branch information
thejamescollins authored Jan 17, 2023
2 parents e066f69 + ee8e45a commit 8631404
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 2 deletions.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
.vscode
.wp-env.json
*~
/.wordpress-org
/node_modules
/vendor
bin
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy to WordPress.org
on:
release:
types: [published]
jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: copycraft
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.deploy.outputs.zip-path }}
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
Binary file added .wordpress-org/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion copycraft.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://om4.io/
* Text Domain: copycraft
* Domain Path: /languages
* Version: 0.1.0
* Version: 0.1.1
*/

namespace OM4\CopyCraft;
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: WooCommerce, Product descriptions, Artificial intelligence, AI, Copywritin
Requires at least: 5.9.0
Tested up to: 6.1.0
Requires PHP: 7.4
Stable tag: 0.1.0
Stable tag: 0.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -55,10 +55,16 @@ Currently, the plugin is only compatible with WooCommerce. However, we are consi

== Changelog ==

= 0.1.1 =
* Public release for WordPress.org plugin repository.

= 0.1 =
* Initial release.

== Upgrade Notice ==

= 0.1.1 =
* Public release for WordPress.org plugin repository.

= 0.1 =
Initial release.

0 comments on commit 8631404

Please sign in to comment.