diff --git a/.distignore b/.distignore new file mode 100644 index 0000000..88e6736 --- /dev/null +++ b/.distignore @@ -0,0 +1,7 @@ +/.wordpress-org +/.git +/.github +/node_modules + +.distignore +.gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..87b71d4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# Directories +/.wordpress-org export-ignore +/.github export-ignore + +# Files +/.gitattributes export-ignore +/.gitignore export-ignore diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..5f05b0e --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,16 @@ +name: Deploy to WordPress.org +on: + push: + tags: + - "*" +jobs: + tag: + name: New tag + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: WordPress Plugin Deploy + uses: 10up/action-wordpress-plugin-deploy@stable + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} diff --git a/bu-navigation.php b/bu-navigation.php index e012402..15daa1b 100644 --- a/bu-navigation.php +++ b/bu-navigation.php @@ -5,7 +5,7 @@ * Author: Boston University (IS&T) * Author URI: http://sites.bu.edu/web/ * Description: Provides alternative navigation elements designed for blogs with large page counts - * Version: 1.3.0 + * Version: 1.3.1 * Text Domain: bu-navigation * Domain Path: /languages * License: GPL2+ @@ -91,7 +91,7 @@ class BU_Navigation_Plugin { * * @var string */ - const VERSION = '1.3.0'; + const VERSION = '1.3.1'; /** * Plugin class constructor. diff --git a/package-lock.json b/package-lock.json index 287d4f2..c9f6b42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "bu-navigation", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 447ed0d..5c1b0ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bu-navigation", - "version": "1.3.0", + "version": "1.3.1", "description": "Provides alternative navigation elements designed for blogs with large page counts", "main": "bu-navigation.php", "directories": { diff --git a/readme.md b/readme.md index de472b0..c20a00e 100644 --- a/readme.md +++ b/readme.md @@ -107,6 +107,10 @@ Please see this page for the details: ## Changelog +### 1.3.1 + +* Adds Github action, and removes redundant code. + ### 1.3.0 * Moves core methods to a [Composer package](https://github.com/bu-ist/bu-navigation-core-widget) that is then imported back into the plugin. This is to allow for other plugins to also import the core data and widget code. diff --git a/readme.txt b/readme.txt index 847f259..3d4fe23 100644 --- a/readme.txt +++ b/readme.txt @@ -78,6 +78,10 @@ Please see this page for the details: == Changelog == += 1.3.1 = + +* Adds Github action, and removes redundant code. + = 1.3.0 = * Moves core methods to a Composer package that is then imported back into the plugin. This is to allow for other plugins to also import the core data and widget code. diff --git a/templates/widget-form.php b/templates/widget-form.php deleted file mode 100644 index 7a76ae1..0000000 --- a/templates/widget-form.php +++ /dev/null @@ -1,152 +0,0 @@ -

- /> - -
- /> - -
- /> - - -
- - -
- -

- -

- List style: -
- /> - -
- /> - -
- /> - -
- -

-