Browse Source

Merge pull request #2779 from Automattic/fix/spearhead-dotorg-issues

Spearhead: fix dotorg submission issues
Ben Dwyer 4 years ago
parent
commit
e3ee4fc8d4
5 changed files with 39 additions and 5 deletions
  1. 2 1
      package-dotorg.sh
  2. 4 2
      spearhead/assets/sass/style.scss
  3. 3 1
      spearhead/style-rtl.css
  4. 3 1
      spearhead/style.css
  5. 27 0
      spearhead/style.css.map

+ 2 - 1
package-dotorg.sh

@@ -2,7 +2,8 @@
 if [[ "$1" != "" ]]; then
     THEME="$1"
 	find $THEME/assets/sass/*.scss -type f -exec sed -i '' 's/-wpcom//g' {} \; 
-	find $THEME/assets/sass/*.scss -type f -exec sed -i '' 's/auto-loading-homepage, //g' {} \; 
+	find $THEME/assets/sass/*.scss -type f -exec sed -i '' 's/, auto-loading-homepage//g' {} \; 
+	find $THEME/assets/sass/*.scss -type f -exec sed -i '' 's/, jetpack-global-styles//g' {} \; 
 	cd $THEME && npm run build;
 	mkdir $THEME;
 	rsync -avz --exclude $THEME --exclude-from '../dotorg-exclude.txt' ./ $THEME

+ 4 - 2
spearhead/assets/sass/style.scss

@@ -4,8 +4,10 @@ Theme URI: https://wordpress.com/theme/spearhead
 Author: Automattic
 Author URI: https://automattic.com/
 Description: Share your podcast with the world using Spearhead.
-Requires at least: WordPress 5.4
-Version: 1.2.1
+Requires at least: 5.4
+Tested up to: 5.5
+Requires PHP: 5.6.2
+Version: 1.2.2
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Template: seedlet

+ 3 - 1
spearhead/style-rtl.css

@@ -4,7 +4,9 @@ Theme URI: https://wordpress.com/theme/spearhead
 Author: Automattic
 Author URI: https://automattic.com/
 Description: Share your podcast with the world using Spearhead.
-Requires at least: WordPress 5.4
+Requires at least: 5.4
+Tested up to: 5.5
+Requires PHP: 5.6.2
 Version: 1.2.2
 License: GNU General Public License v2 or later
 License URI: LICENSE

+ 3 - 1
spearhead/style.css

@@ -4,7 +4,9 @@ Theme URI: https://wordpress.com/theme/spearhead
 Author: Automattic
 Author URI: https://automattic.com/
 Description: Share your podcast with the world using Spearhead.
-Requires at least: WordPress 5.4
+Requires at least: 5.4
+Tested up to: 5.5
+Requires PHP: 5.6.2
 Version: 1.2.2
 License: GNU General Public License v2 or later
 License URI: LICENSE

File diff suppressed because it is too large
+ 27 - 0
spearhead/style.css.map


Some files were not shown because too many files changed in this diff