Skip to content

Commit f7cb544

Browse files
authored
Merge pull request #1 from kagg-design/v1.6.0
V1.6.0
2 parents ab6fad8 + a5ec456 commit f7cb544

31 files changed

+486
-403
lines changed

.distignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
# A set of files and directories you probably don't want in your WordPress.org distribution
22

33
# Files
4+
/.DS_Store
45
/.distignore
56
/.editorconfig
67
/.gitignore
7-
/.DS_Store
8+
/.phpcs.cache
9+
/README.md
810
/Thumbs.db
11+
/auth.json
912
/composer.json
1013
/composer.lock
1114
/phpcs.xml
12-
/changelog.md
13-
/readme.md
1415

1516
# Directories
1617
/.git
1718
/.github
1819
/.idea
20+
/.wordpress-org
1921
/cache

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
run:
7+
runs-on: ${{ matrix.os }}
8+
9+
strategy:
10+
matrix:
11+
os: [ ubuntu-latest ]
12+
php-version: [ '7.0' ]
13+
14+
name: PHP ${{ matrix.php-version }} on ${{ matrix.os }}
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Setup PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
php-version: ${{ matrix.php-versions }}
24+
25+
- name: Setup Composer caching
26+
uses: ramsey/composer-install@v2
27+
28+
- name: Install dependencies
29+
run: |
30+
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
31+
composer install
32+
env:
33+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Run code sniffer
36+
run: composer phpcs
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Plugin readme/assets update
2+
on:
3+
push:
4+
branches:
5+
- trunk
6+
jobs:
7+
trunk:
8+
name: Push to trunk
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
14+
- name: WordPress.org plugin asset/readme update
15+
uses: 10up/action-wordpress-plugin-asset-update@stable
16+
env:
17+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
18+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
19+
IGNORE_OTHER_FILES: true
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy to WordPress.org
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
tag:
7+
name: New release
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Setup PHP
16+
uses: shivammathur/setup-php@v2
17+
with:
18+
php-version: ${{ matrix.php-versions }}
19+
20+
- name: Setup Composer caching
21+
uses: ramsey/composer-install@v2
22+
23+
- name: Install dependencies in prod version
24+
run: |
25+
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
26+
composer install --no-dev
27+
env:
28+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
30+
# - name: WordPress Plugin Deploy
31+
# id: deploy
32+
# uses: 10up/action-wordpress-plugin-deploy@stable
33+
# with:
34+
# generate-zip: true
35+
# env:
36+
# SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
37+
# SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
38+
39+
- name: Upload release asset
40+
uses: softprops/action-gh-release@v1
41+
with:
42+
files: ${{github.workspace}}/${{ github.event.repository.name }}.zip
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
.idea/
2+
assets/css/*.min.css
3+
assets/css/*.min.css.map
4+
assets/js/**/*.min.js
5+
assets/js/**/*.min.js.map
26
cache/
37
vendor/
48

.wordpress-org/banner-1544x500.png

434 KB
Loading

.wordpress-org/banner-772x250.png

161 KB
Loading

.wordpress-org/icon.svg

Lines changed: 16 additions & 0 deletions
Loading

.wordpress-org/screenshot-1.png

173 KB
Loading

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,4 +336,4 @@ This General Public License does not permit incorporating your program into
336336
proprietary programs. If your program is a subroutine library, you may
337337
consider it more useful to permit linking proprietary applications with the
338338
library. If this is what you want to do, use the GNU Lesser General
339-
Public License instead of this License.
339+
Public License instead of this License.

0 commit comments

Comments
 (0)