浏览代码

Merge pull request #2472 from Automattic/fix/varia-version-numbers

Fix version numbers for Varia child themes
Ben Dwyer 4 年之前
父节点
当前提交
d19a4d05ca

+ 1 - 1
alves/package.json

@@ -1,6 +1,6 @@
 {
   "name": "alves",
-  "version": "1.4.1",
+  "version": "1.4.3",
   "description": "Alves",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
balasana/package.json

@@ -1,6 +1,6 @@
 {
   "name": "balasana",
-  "version": "1.2.2",
+  "version": "1.2.4",
   "description": "Balasana",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
barnsbury/package.json

@@ -1,6 +1,6 @@
 {
   "name": "barnsbury",
-  "version": "1.2.1",
+  "version": "1.2.3",
   "description": "Barnsbury",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
brompton/package.json

@@ -1,6 +1,6 @@
 {
   "name": "brompton",
-  "version": "1.3.1",
+  "version": "1.3.3",
   "description": "Brompton",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
coutoire/package.json

@@ -1,6 +1,6 @@
 {
   "name": "coutoire",
-  "version": "1.3.1",
+  "version": "1.3.3",
   "description": "Coutoire",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
dalston/package.json

@@ -1,6 +1,6 @@
 {
   "name": "dalston",
-  "version": "1.2.1",
+  "version": "1.2.3",
   "description": "Dalston",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
exford/package.json

@@ -1,6 +1,6 @@
 {
   "name": "exford",
-  "version": "1.4.2",
+  "version": "1.4.4",
   "description": "Exford",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
hever/package.json

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

+ 1 - 1
leven/package.json

@@ -1,6 +1,6 @@
 {
   "name": "leven",
-  "version": "1.3.1",
+  "version": "1.3.3",
   "description": "Leven",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
mayland/package.json

@@ -1,6 +1,6 @@
 {
   "name": "mayland",
-  "version": "1.2.1",
+  "version": "1.2.3",
   "description": "mayland",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
maywood/package.json

@@ -1,6 +1,6 @@
 {
   "name": "maywood",
-  "version": "1.4.3",
+  "version": "1.4.5",
   "description": "Maywood",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
morden/package.json

@@ -1,6 +1,6 @@
 {
   "name": "morden",
-  "version": "1.5.1",
+  "version": "1.5.3",
   "description": "Morden",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
redhill/package.json

@@ -1,6 +1,6 @@
 {
   "name": "redhill",
-  "version": "1.4.1",
+  "version": "1.4.3",
   "description": "redhill",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
rivington/package.json

@@ -1,6 +1,6 @@
 {
   "name": "rivington",
-  "version": "1.2.1",
+  "version": "1.2.3",
   "description": "Rivington",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
rockfield/package.json

@@ -1,6 +1,6 @@
 {
   "name": "rockfield",
-  "version": "1.3.1",
+  "version": "1.3.3",
   "description": "Rockfield",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
shawburn/package.json

@@ -1,6 +1,6 @@
 {
   "name": "shawburn",
-  "version": "1.3.2",
+  "version": "1.3.4",
   "description": "Shawburn",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
stow/package.json

@@ -1,6 +1,6 @@
 {
   "name": "stow",
-  "version": "1.4.1",
+  "version": "1.4.3",
   "description": "Stow",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 1
stratford/package.json

@@ -1,6 +1,6 @@
 {
   "name": "stratford",
-  "version": "1.3.1",
+  "version": "1.3.3",
   "description": "Stratford",
   "bugs": {
     "url": "https://github.com/Automattic/themes/issues"

+ 1 - 0
varia/rebuild-child-themes.sh

@@ -6,6 +6,7 @@ for child in ${ChildThemes[@]}; do
 	cd '../'${child}
 	echo 'Rebulding '${child}
 	perl -pi -e 's/Version: ((\d+\.)*)(\d+)(.*)$/"Version: ".$1.($3+1).$4/ge' sass/style-child-theme.scss
+	perl -pi -e 's/\"version\": \"((\d+\.)*)(\d+)\"(.*)$/"\"version\": \"".$1.($3+1)."\"".$4/ge' package.json
 	npm install
 	npm run build
 done