@oneblink/release-cli 3.3.1-beta.2 → 3.3.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,11 +23,11 @@ export default async function startUpdateDependents({ cwd }) {
|
|
|
23
23
|
const { ticket } = await enquirer.prompt({
|
|
24
24
|
type: 'input',
|
|
25
25
|
name: 'ticket',
|
|
26
|
-
message: `Ticket to associate with pull requests? (e.g. ON-4323,
|
|
26
|
+
message: `Ticket to associate with pull requests? (e.g. ON-4323, AP-4323, MS-4323)`,
|
|
27
27
|
required: true,
|
|
28
28
|
validate: (input) => {
|
|
29
|
-
if (!/^
|
|
30
|
-
return 'Ticket must be
|
|
29
|
+
if (!/^[a-z]{1,3}-\d+$/i.test(input)) {
|
|
30
|
+
return 'Ticket must be 1-3 alpha characters, then a hyphen followed by a number';
|
|
31
31
|
}
|
|
32
32
|
return true;
|
|
33
33
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneblink/release-cli",
|
|
3
3
|
"description": "Used internally by OneBlink to release repositories quickly and consistently",
|
|
4
|
-
"version": "3.3.1-beta.
|
|
4
|
+
"version": "3.3.1-beta.3",
|
|
5
5
|
"author": "OneBlink <developers@oneblink> (https://github.com/oneblink)",
|
|
6
6
|
"bin": {
|
|
7
7
|
"oneblink-release": "dist/bin.js"
|