Skip to content

Commit

Permalink
Merge branch 'release/2.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
BracketSpaceWorker committed Feb 23, 2021
2 parents 5f23903 + 090106f commit 0fd4f9d
Show file tree
Hide file tree
Showing 10 changed files with 6,443 additions and 606 deletions.
6 changes: 0 additions & 6 deletions .actionspanel/buttons.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install Composer dependencies
run: composer install -o --no-dev --no-progress
- name: Build static assets
run: gulp
run: yarn build
- name: Create build dir
run: mkdir build
- name: Copy files
Expand Down
47 changes: 45 additions & 2 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install Composer dependencies
run: composer install -o --no-dev --no-progress
- name: Build static assets
run: gulp
run: yarn build
- name: Create build dir
run: mkdir build
- name: Copy files
Expand Down Expand Up @@ -134,7 +134,50 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: release-changelog.txt
body_path: changelog.txt
files: ${{ steps.vars.outputs.package-name }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Deploys the stable tag to WordPress.org repository
wordpress-org-release:
name: Release on WordPress.org
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10'
- name: Setup variables
id: vars
run: |
echo "::set-output name=yarn-cache-path::$(yarn cache dir)"
echo "::set-output name=composer-cache-path::$(composer config cache-files-dir)"
- name: Cache Yarn
uses: actions/cache@v1
with:
path: ${{ steps.vars.outputs.yarn-cache-path }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Cache Composer
uses: actions/cache@v1
with:
path: ${{ steps.vars.outputs.composer-cache-path }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install Node dependencies
run: yarn install --no-progress
- name: Install Composer dependencies
run: composer install -o --no-dev --no-progress
- name: Build static assets
run: yarn build:production
- name: Create .distignore file
run: cp .build-excludes .distignore
- name: Deploy to WordPress repository
uses: 10up/action-wordpress-plugin-deploy@1.4.0
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: ${{ secrets.SLUG }}
4 changes: 2 additions & 2 deletions advanced-cron-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Advanced Cron Manager
* Description: View, pause, remove, edit and add WP Cron events.
* Version: 2.4.0
* Version: 2.4.1
* Author: BracketSpace
* Author URI: https://bracketspace.com
* License: GPL3
Expand All @@ -11,7 +11,7 @@
* @package advanced-cron-manager
*/

$plugin_version = '2.4.0';
$plugin_version = '2.4.1';
$plugin_file = __FILE__;

/**
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"phpcbf": "phpcbf"
},
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"phpcompatibility/php-compatibility": "^9.1",
"underdev/utils": "*",
"underdev/requirements": "*",
"wp-coding-standards/wpcs": "^2.0"
"underdev/requirements": "*"
},
"autoload": {
"psr-4": {
"underDEV\\AdvancedCronManager\\" : "inc"
}
},
"require-dev": {
"10up/wp_mock": "dev-dev"
"10up/wp_mock": "dev-trunk",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"phpcompatibility/php-compatibility": "^9.1",
"wp-coding-standards/wpcs": "^2.0"
}
}
Loading

0 comments on commit 0fd4f9d

Please sign in to comment.