relion 0.44.2 → 0.44.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.
- package/README.md +1 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ Notes:
|
|
|
40
40
|
- `package.json` is **always included** in the bump list if exists
|
|
41
41
|
- most files are bumped with a [generic pattern](https://regex101.com/r/t570Gh/1); `.rc` files use a dedicated one
|
|
42
42
|
- changes are **not staged automatically** before committing
|
|
43
|
+
- to create a tag without a prefix, use `-t ''`
|
|
43
44
|
|
|
44
45
|
<details><summary>Example output of running <code>bunx relion</code>:</summary>
|
|
45
46
|
|
package/dist/cli.js
CHANGED
|
@@ -15,4 +15,4 @@ Options:
|
|
|
15
15
|
Examples:
|
|
16
16
|
bunx relion -b src/manifest.json Bump a custom file
|
|
17
17
|
bunx relion -d -v 1.2.3 Dry run with a custom version
|
|
18
|
-
`),process.exit(0));const y=/-b (.+?)( -|$)/.exec(v)?.[1].split(` `),b=/-v (\S+)/.exec(v)?.[1]
|
|
18
|
+
`),process.exit(0));const y=/-b (.+?)( -|$)/.exec(v)?.[1].split(` `),b=/-v (\S+)/.exec(v)?.[1];let x=/-t (\S+)/.exec(v)?.[1];x===`''`&&(x=``);const S=/-\w*d/.test(v),C=/-\w*y/.test(v);_({...y&&{bump:y},...b&&{newVersion:b},...x&&{tagPrefix:x},dryRun:S,yes:C}).catch(e=>{console.error(e),process.exit(1)});export{};
|