Skip to content

Commit 07151ed

Browse files
authored
Release WP Job Manager 2.3.0 (#2818)
1 parent 47e0540 commit 07151ed

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

includes/admin/class-release-notice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static function add_release_notice( $notices ) {
5656
<ul>
5757
<li>Tracks page views and unique visitors, search impressions and apply button clicks.</li>
5858
<li>Adds a new overlay to the employer dashboard with aggregated statistics and a daily breakdown chart.</li>
59-
<li>Integrates with Job Alerts, Applications, and Bookmarks add-ons.</li>
59+
<li>Integrates with Job Alerts, Applications, and Bookmarks extensions.</li>
6060
<li>GDPR-compliant, with no personal user information collected.</li>
6161
</ul>
6262
',
@@ -75,7 +75,7 @@ public static function add_release_notice( $notices ) {
7575
],
7676
[
7777
'label' => __( 'See what\'s new in 2.3', 'wp-job-manager' ),
78-
'url' => 'https://wpjobmanager.com/2024/03/27/new-in-2-3-job-statistics/',
78+
'url' => 'https://wpjobmanager.com/2024/04/29/new-in-2-3-job-statistics/',
7979
'class' => 'is-link',
8080
],
8181
],

languages/wp-job-manager.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2024-04-26T14:35:30+00:00\n"
12+
"POT-Creation-Date: 2024-04-29T14:04:54+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.10.0\n"
1515
"X-Domain: wp-job-manager\n"
@@ -85,7 +85,7 @@ msgid ""
8585
"<ul>\n"
8686
"\t<li>Tracks page views and unique visitors, search impressions and apply button clicks.</li>\n"
8787
"\t<li>Adds a new overlay to the employer dashboard with aggregated statistics and a daily breakdown chart.</li>\n"
88-
"\t<li>Integrates with Job Alerts, Applications, and Bookmarks add-ons.</li>\n"
88+
"\t<li>Integrates with Job Alerts, Applications, and Bookmarks extensions.</li>\n"
8989
"\t<li>GDPR-compliant, with no personal user information collected.</li>\n"
9090
"</ul>\n"
9191
""

scripts/prepare-release.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ function updatePackageJsonFiles() {
241241
console.log( 'Updating package.json version...' );
242242
try {
243243
execSync( `npm version ${ version } --no-git-tag-version` );
244+
execSync(
245+
`git add package.json package-lock.json`,
246+
);
244247
} catch {
245-
throw new Error( 'Version could not be updated in package.json file.' );
248+
console.log( 'Version could not be updated in package.json file.' );
246249
}
247250

248-
execSync(
249-
`git add package.json package-lock.json`,
250-
);
251251
}
252252

253253
/**

0 commit comments

Comments
 (0)