瀏覽代碼

Version Bump

Jason Crist 3 年之前
父節點
當前提交
513c6ed424
共有 10 個文件被更改,包括 12 次插入11 次删除
  1. 1 1
      hever/package.json
  2. 1 1
      hever/sass/style-child-theme.scss
  3. 1 1
      hever/style.css
  4. 1 1
      package-lock.json
  5. 1 1
      package.json
  6. 1 1
      seedlet/package.json
  7. 1 1
      seedlet/style.css
  8. 1 1
      spearhead/package.json
  9. 3 3
      spearhead/style.css
  10. 1 0
      theme-utils.mjs

+ 1 - 1
hever/package.json

@@ -1,6 +1,6 @@
 {
   "name": "hever",
-  "version": "1.5.12",
+  "version": "1.5.13",
   "description": "Hever",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
hever/sass/style-child-theme.scss

@@ -5,7 +5,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business.
 Requires at least: WordPress 4.9.6
-Version: 1.5.12
+Version: 1.5.13
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia

+ 1 - 1
hever/style.css

@@ -6,7 +6,7 @@ Author: Automattic
 Author URI: https://automattic.com/
 Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business.
 Requires at least: WordPress 4.9.6
-Version: 1.5.12
+Version: 1.5.13
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: varia

+ 1 - 1
package-lock.json

@@ -1,6 +1,6 @@
 {
 	"name": "themes",
-	"version": "1.0.42",
+	"version": "1.0.43",
 	"lockfileVersion": 2,
 	"requires": true,
 	"packages": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 	"name": "themes",
-	"version": "1.0.42",
+	"version": "1.0.43",
 	"description": "Automattic public themes",
 	"author": "automattic",
 	"license": "GPL-2.0",

+ 1 - 1
seedlet/package.json

@@ -1,6 +1,6 @@
 {
   "name": "seedlet",
-  "version": "1.1.16-wpcom",
+  "version": "1.1.17",
   "description": "Seedlet",
   "bugs": {
     "url": "https://github.com/Automattic/seedlet/issues"

+ 1 - 1
seedlet/style.css

@@ -8,7 +8,7 @@ Description: Seedlet is a free WordPress theme. A two-column layout and classica
 Requires at least: 5.5
 Tested up to: 5.5
 Requires PHP: 5.6.2
-Version: 1.1.16-wpcom
+Version: 1.1.17-wpcom
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Text Domain: seedlet

+ 1 - 1
spearhead/package.json

@@ -1,6 +1,6 @@
 {
   "name": "spearhead",
-  "version": "1.3.3",
+  "version": "1.3.4",
   "description": "a podcast theme",
   "keywords": [
     "gutenberg",

+ 3 - 3
spearhead/style.css

@@ -7,12 +7,12 @@ Description: Share your podcast with the world using Spearhead.
 Requires at least: 5.5
 Tested up to: 5.5
 Requires PHP: 5.6.2
-Version: 1.3.3
+Version: 1.3.4
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: seedlet
 Text Domain: spearhead
-Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, auto-loading-homepage, blog-homepage, jetpack-global-styles
+Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, auto-loading-homepage, jetpack-global-styles
 */
 /**
  * Required Variables
@@ -912,4 +912,4 @@ body[class*="woocommerce"] #page .woo-navigation .woocommerce-cart-widget {
 	}
 }
 
-/*# sourceMappingURL=style.css.map */
+/*# sourceMappingURL=style.css.map */

+ 1 - 0
theme-utils.mjs

@@ -397,6 +397,7 @@ async function versionBumpTheme(theme, addChanges){
 	console.log(`${theme} needs a version bump`);
 
 	await executeCommand(`perl -pi -e 's/Version: ((\\d+\\.)*)(\\d+)(.*)$/"Version: ".$1.($3+1).$4/ge' ${theme}/style.css`, true);
+	await executeCommand(`git add ${file}`);
 
 	let styleCss = fs.readFileSync(`${theme}/style.css`, 'utf8');
 	let currentVersion = getThemeMetadata(styleCss, 'Version');