Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep worg release #3

Merged
merged 7 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Directories to ignore
/.git
/.github
/.wordpress-org
/bin
/node_modules
/tests
/vendor

# Files to ignore
/.*
/CHANGELOG.md
/CODE_OF_CONDUCT.md
/composer.json
/composer.lock
/CONTRIBUTING.md
/CREDITS.md
/LICENSE
/LICENSE.md
/package-lock.json
/package.json
/phpcs.xml.dist
/phpunit.xml.dist
/README.md
/webpack.config.js
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/.github/ export-ignore
/bin/ export-ignore
/tests/ export-ignore
/.distignore export-ignore
/.gitignore export-ignore
/.gitattributes export-ignore
/phpcs.xml.dist export-ignore
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/worg-asset-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Plugin asset/readme update
on:
push:
branches:
- main
jobs:
main:
name: Push to main
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: WordPress.org plugin asset/readme update
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
17 changes: 17 additions & 0 deletions .github/workflows/worg-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy to WordPress.org
on:
push:
tags:
- "*"
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
2 changes: 1 addition & 1 deletion fonts-to-uploads.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @wordpress-plugin
* Plugin Name: Fonts to uploads
* Description: Relocate the fonts directory to the uploads directory.
* Version: 1.0
* Version: 1.0.0
* Requires at least: 6.5
* Requires PHP: 7.4
* Author: Peter Wilson
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: font-library, uploads
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.0
Stable tag: 1.0.0
License: MIT
License URI: https://github.com/peterwilsoncc/fonts-to-uploads/blob/main/LICENSE

Expand All @@ -29,5 +29,5 @@ Simply install the plugin and activate.

== Changelog ==

= 1.0 =
= 1.0.0 =
Initial release
Loading