@oneblink/release-cli 3.3.1-beta.1 → 3.3.1-beta.2
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.
|
@@ -26,11 +26,12 @@ export default async function startUpdateDependents({ cwd }) {
|
|
|
26
26
|
message: `Ticket to associate with pull requests? (e.g. ON-4323, OB-4323)`,
|
|
27
27
|
required: true,
|
|
28
28
|
validate: (input) => {
|
|
29
|
-
if (!/^(ON-|OB-)\d
|
|
29
|
+
if (!/^(ON-|OB-)\d+$/i.test(input)) {
|
|
30
30
|
return 'Ticket must be "ON-" or "OB-" followed by a number';
|
|
31
31
|
}
|
|
32
32
|
return true;
|
|
33
33
|
},
|
|
34
|
+
result: (input) => input.toUpperCase(),
|
|
34
35
|
});
|
|
35
36
|
const { isUpdatingTypes } = await enquirer.prompt({
|
|
36
37
|
type: 'select',
|
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.2",
|
|
5
5
|
"author": "OneBlink <developers@oneblink> (https://github.com/oneblink)",
|
|
6
6
|
"bin": {
|
|
7
7
|
"oneblink-release": "dist/bin.js"
|