Skip to content

Commit 851a32b

Browse files
authored
Merge pull request #154 from Automattic/add/version-bump
2 parents 5eff559 + 8274133 commit 851a32b

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

readme.md renamed to README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ad Code Manager
22

3-
Stable tag: 0.5
3+
Stable tag: 0.5.0
44
Requires at least: 5.5
55
Tested up to: 5.9
66
Requires PHP: 7.1

ad-code-manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
use Automattic\AdCodeManager\UI\Contextual_Help;
3131
use Automattic\AdCodeManager\UI\Plugin_Actions;
3232

33-
const AD_CODE_MANAGER_VERSION = '0.5';
33+
const AD_CODE_MANAGER_VERSION = '0.5.0';
3434
const AD_CODE_MANAGER_FILE = __FILE__;
3535

3636
require_once __DIR__ . '/src/class-acm-provider.php';

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
"devDependencies": {
99
"@actions/github": "^2",
1010
"replace-in-file": "^5",
11-
"semver": "^7"
11+
"semver": "^7",
12+
"version-bump-prompt": "^6.1.0"
13+
},
14+
"scripts": {
15+
"bump:major": "bump major --commit 'Version %s.' ad-code-manager.php package.json README.md",
16+
"bump:minor": "bump minor --commit 'Version %s.' ad-code-manager.php package.json README.md",
17+
"bump:patch": "bump patch --commit 'Version %s.' ad-code-manager.php package.json README.md"
1218
}
1319
}

0 commit comments

Comments
 (0)