Skip to content

Commit 3ee8bff

Browse files
zip update
1 parent f7d066b commit 3ee8bff

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v2
2020

21-
- name: Create Zip File
22-
run: zip -r cache-everything-${GITHUB_REF_NAME}.zip plugin/ -x "*.git*" -x "node_modules/*"
21+
- name: Rename directory
22+
run: mv plugin cache-everything
2323

24-
- name: List files
25-
run: ls -l
24+
- name: Create Zip File
25+
run: zip -r cache-everything-${GITHUB_REF_NAME}.zip cache-everything/ -x "*.git*" -x "node_modules/*"
2626

2727
- name: Define GITHUB_REF_NAME
2828
run: echo "GITHUB_REF_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV

plugin/cache-everything.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
* Plugin Name: Cache Everything
44
* Plugin URI: https://github.com/AsyncAlchemist
55
* Description: A simple plugin to cache everything in Wordpress.
6-
* Version: 0.1
6+
* Version: 0.14
77
* Author: Taylor Selden
88
* Author URI: https://github.com/AsyncAlchemist
99
*/
1010
define('CACHE_EVERYTHING_JS_URL', 'wp-content/plugins/cache-everything/js');
1111
define('CACHE_EVERYTHING_CSS_URL', 'wp-content/plugins/cache-everything/css');
12+
define('CACHE_EVERYTHING_VERSION', '0.14');
1213

1314
require_once(plugin_dir_path(__FILE__) . 'handle-js-request.php');
1415
require_once(plugin_dir_path(__FILE__) . 'handle-css-request.php');

0 commit comments

Comments
 (0)