Skip to content

Commit

Permalink
Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
miksansegundo committed Aug 15, 2024
1 parent 0e66200 commit 2ba4dd2
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 8 deletions.
1 change: 1 addition & 0 deletions olympique/functions.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Olympique functions and definitions
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/404.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/archive.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: archive
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/front-page.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: front-page
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-404.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-comments.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Comments
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-no-results.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: No results
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-portfolio-hero.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Portfolio hero
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-post-meta.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Post meta
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-post-navigation.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Post navigation
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-search.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Search
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/hidden-sidebar.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Sidebar
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/home.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: home
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: index
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/post-meta.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: post-meta
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/posts-list.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: List of posts without images, 1 column
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/search.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: search
Expand Down
1 change: 1 addition & 0 deletions olympique/patterns/single.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: single
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "themes",
"version": "1.0.556",
"version": "1.0.557",
"description": "Automattic public themes",
"author": "automattic",
"license": "GPL-2.0",
Expand Down
8 changes: 3 additions & 5 deletions theme-utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,9 @@ async function versionBumpThemes() {
//version bump the root project if there were changes to any of the themes
const rootHasVersionBump = await checkProjectForVersionBump(hash);

if (!rootHasVersionBump) {
console.log('No changes detected; version bump not required');
}

if (versionBumpCount > 0 && rootHasVersionBump) {
if (versionBumpCount === 0) {
console.log('No changes detected; Root package version bump not required');
} else if (!rootHasVersionBump) {
await executeCommand(`npm version patch --no-git-tag-version && git add package.json package-lock.json`);
changesWereMade = true;
}
Expand Down

0 comments on commit 2ba4dd2

Please sign in to comment.