From e036afdbbdc4556b2e6d01b74a60ad07b9d3cc88 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:03:41 -0500 Subject: [PATCH 01/11] Run the new version-check job from the wp-svn orb --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eaeb878a..0fb6276f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 orbs: node: circleci/node@5.0 php: circleci/php@1.1 - wp-svn: studiopress/wp-svn@0.1 + wp-svn: studiopress/wp-svn@dev:alpha references: PLUGIN_PATH: &PLUGIN_PATH @@ -124,6 +124,8 @@ jobs: workflows: test-deploy: jobs: + - wp-svn/version-check: + changelog-file: CHANGELOG.md - php-tests: filters: tags: From 6a94d18e11c79b788b458dc2a3c2c3d214fc8e42 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:05:32 -0500 Subject: [PATCH 02/11] Correct the name of the job --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0fb6276f..081a325d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -124,7 +124,7 @@ jobs: workflows: test-deploy: jobs: - - wp-svn/version-check: + - wp-svn/check-versions: changelog-file: CHANGELOG.md - php-tests: filters: From ae7b6d11b009822d1d97d863db527c551dc6b60c Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:09:55 -0500 Subject: [PATCH 03/11] Empty commit to get the latest from the alpha From 68c4fc53bba363e3cdc11fdebe796afa992779cb Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:14:44 -0500 Subject: [PATCH 04/11] Empty commit to get the latest from the alpha From 8011e1362eaad3b9e95767cb33b50a1022385d56 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:28:32 -0500 Subject: [PATCH 05/11] Require check-versions to deploy --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 081a325d..d15c48f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -124,8 +124,6 @@ jobs: workflows: test-deploy: jobs: - - wp-svn/check-versions: - changelog-file: CHANGELOG.md - php-tests: filters: tags: @@ -145,6 +143,8 @@ workflows: filters: tags: only: /.*/ + - wp-svn/check-versions: + changelog-file: CHANGELOG.md - svn-deploy: context: genesis-svn requires: @@ -152,6 +152,7 @@ workflows: - js-tests - e2e-tests - lint + - wp-svn/check-versions filters: tags: only: /^\d+\.\d+\.\d+$/ From 2f3c1383574b5b1522881e1e1b7be003ac79c8c1 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:30:00 -0500 Subject: [PATCH 06/11] Only run check-versions when deploying --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d15c48f6..112e73c9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -145,6 +145,9 @@ workflows: only: /.*/ - wp-svn/check-versions: changelog-file: CHANGELOG.md + filters: + tags: + only: /^\d+\.\d+\.\d+$/ - svn-deploy: context: genesis-svn requires: From 6def7b06824d16204d47713ee5dcdd5d2ece0687 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:30:45 -0500 Subject: [PATCH 07/11] Ignore branches for check-versions --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 112e73c9..9485a020 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -148,6 +148,8 @@ workflows: filters: tags: only: /^\d+\.\d+\.\d+$/ + branches: + ignore: /.*/ - svn-deploy: context: genesis-svn requires: From f66c29f972a28ece866e205b869a2faff3fc91c8 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Tue, 27 Sep 2022 22:31:35 -0500 Subject: [PATCH 08/11] Indent branches more --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9485a020..dc11c0ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -148,8 +148,8 @@ workflows: filters: tags: only: /^\d+\.\d+\.\d+$/ - branches: - ignore: /.*/ + branches: + ignore: /.*/ - svn-deploy: context: genesis-svn requires: From 6133a2aca32e3e67d2ac506e4476d81eca494fd1 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Wed, 28 Sep 2022 13:28:28 -0500 Subject: [PATCH 09/11] Revert to version 0.1 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dc11c0ab..b2e844af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 orbs: node: circleci/node@5.0 php: circleci/php@1.1 - wp-svn: studiopress/wp-svn@dev:alpha + wp-svn: studiopress/wp-svn@0.1 references: PLUGIN_PATH: &PLUGIN_PATH From 62a5bec0238a09af1240f1b666fba0fea550d6a9 Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Wed, 28 Sep 2022 13:29:26 -0500 Subject: [PATCH 10/11] Will revert: run check-versions on every branch --- .circleci/config.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b2e844af..bf1927b4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -145,11 +145,6 @@ workflows: only: /.*/ - wp-svn/check-versions: changelog-file: CHANGELOG.md - filters: - tags: - only: /^\d+\.\d+\.\d+$/ - branches: - ignore: /.*/ - svn-deploy: context: genesis-svn requires: From 273fb31ab88a61c0154d640664c792c0a3d3b39f Mon Sep 17 00:00:00 2001 From: Ryan Kienstra Date: Wed, 28 Sep 2022 13:31:50 -0500 Subject: [PATCH 11/11] Revert "Will revert: run check-versions on every branch" This reverts commit 62a5bec0238a09af1240f1b666fba0fea550d6a9. --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index bf1927b4..b2e844af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -145,6 +145,11 @@ workflows: only: /.*/ - wp-svn/check-versions: changelog-file: CHANGELOG.md + filters: + tags: + only: /^\d+\.\d+\.\d+$/ + branches: + ignore: /.*/ - svn-deploy: context: genesis-svn requires: