From 6063178d90b1a18ad0c3669e2039614e84bbef11 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sat, 4 Jun 2022 20:24:16 +0800 Subject: [PATCH] rename to release-up --- .release-me.json => .release-up.json | 2 +- CHANGELOG.md | 24 ++++++++++++------------ README.md | 18 +++++++++--------- cli.ts | 4 ++-- doc/doc.md | 2 +- 5 files changed, 25 insertions(+), 25 deletions(-) rename .release-me.json => .release-up.json (79%) diff --git a/.release-me.json b/.release-up.json similarity index 79% rename from .release-me.json rename to .release-up.json index e94b036..f3b0624 100644 --- a/.release-me.json +++ b/.release-up.json @@ -6,7 +6,7 @@ "regex": { "patterns": [ "/(?<=@)(.*)(?=\/)/gm", - "(?<=release-me\/)(.*)(?=\/cli)" + "(?<=release-up\/)(.*)(?=\/cli)" ] }, "versionFile": {} diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a9356..1777988 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,15 +32,15 @@ All notable changes to this project will be documented in this file. ## [0.0.1] - 2022-05-28 -[0.2.1]: https://github.com/sylc/release-me/compare/0.2.1 -[426f43a]: https://github.com/sylc/release-me/commit/426f43adda6c487cf7d82b7c427dbc9ab7ed764a -[0.2.0]: https://github.com/sylc/release-me/compare/0.2.0 -[ade5620]: https://github.com/sylc/release-me/commit/ade562078141be72d2caf7522778749b8bb82746 -[d4f08a2]: https://github.com/sylc/release-me/commit/d4f08a260c42f70026501cd80b2644c377912f24 -[dde99a9]: https://github.com/sylc/release-me/commit/dde99a99fc75b11e3efd59c162d65445132beb2e -[4d75e14]: https://github.com/sylc/release-me/commit/4d75e14bd718d8378d27fff51fb7b5ea48b786f9 -[0.1.1]: https://github.com/sylc/release-me/compare/0.1.1 -[1f041eb]: https://github.com/sylc/release-me/commit/1f041ebd2dd227913054d31eb30adfebee9ef570 -[0.1.0]: https://github.com/sylc/release-me/compare/0.1.0 -[0.0.2]: https://github.com/sylc/release-me/compare/0.0.2 -[0.0.1]: https://github.com/sylc/release-me/compare/0.0.1 +[0.2.1]: https://github.com/sylc/release-up/compare/0.2.1 +[426f43a]: https://github.com/sylc/release-up/commit/426f43adda6c487cf7d82b7c427dbc9ab7ed764a +[0.2.0]: https://github.com/sylc/release-up/compare/0.2.0 +[ade5620]: https://github.com/sylc/release-up/commit/ade562078141be72d2caf7522778749b8bb82746 +[d4f08a2]: https://github.com/sylc/release-up/commit/d4f08a260c42f70026501cd80b2644c377912f24 +[dde99a9]: https://github.com/sylc/release-up/commit/dde99a99fc75b11e3efd59c162d65445132beb2e +[4d75e14]: https://github.com/sylc/release-up/commit/4d75e14bd718d8378d27fff51fb7b5ea48b786f9 +[0.1.1]: https://github.com/sylc/release-up/compare/0.1.1 +[1f041eb]: https://github.com/sylc/release-up/commit/1f041ebd2dd227913054d31eb30adfebee9ef570 +[0.1.0]: https://github.com/sylc/release-up/compare/0.1.0 +[0.0.2]: https://github.com/sylc/release-up/compare/0.0.2 +[0.0.1]: https://github.com/sylc/release-up/compare/0.0.1 diff --git a/README.md b/README.md index e47e1a1..64870f8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# release-me +# release-up A fork of [release](https://github.com/denosaurs/release) by [denosaurs](https://github.com/denosaurs) @@ -6,15 +6,15 @@ A fork of [release](https://github.com/denosaurs/release) by ## Installation ``` -$ deno install -A -f --no-check -n release-me -r https://raw.githubusercontent.com/sylc/release-me/0.2.1/cli.ts +$ deno install -A -f --no-check -n release-up -r https://raw.githubusercontent.com/sylc/release-up/0.2.1/cli.ts ``` ## Usage ``` -usage: release-me [options] [...] +usage: release-up [options] [...] -example: release-me major +example: release-up major [options]: -h --help Show this message @@ -33,12 +33,12 @@ example: release-me major ## Plugins -Release-me supports local and remote plugins. By default, plugins are **NOT** -enabled. To enable them, create a `.release-me.json` file that has a key +release-up supports local and remote plugins. By default, plugins are **NOT** +enabled. To enable them, create a `.release-up.json` file that has a key matching the plugin. Example of configuration. ```json -// .release-me.json +// .release-up.json { "changelog": {}, "github": { @@ -47,7 +47,7 @@ matching the plugin. Example of configuration. "regex": { "patterns": [ "/(?<=@)(.*)(?=\/)/gm", - "(?<=release-me\/)(.*)(?=\/cli)" + "(?<=release-up\/)(.*)(?=\/cli)" ] }, "versionFile": {}, @@ -76,7 +76,7 @@ A plugin must contain a default export with the signature defined at ## Secrets -Release-me uses dotenv to load environment variables. For example for +release-up uses dotenv to load environment variables. For example for interactiong with Github, set a `.env` file with the below ``` diff --git a/cli.ts b/cli.ts index c5a0415..1d2f63f 100644 --- a/cli.ts +++ b/cli.ts @@ -33,7 +33,7 @@ const actions: ReleaseType[] = [ ]; await new Command() - .name("release-me") + .name("release-up") .version(version.version) .description( `Automate semver release tasks @@ -52,7 +52,7 @@ await new Command() .option("--debug", "enable debug logging") .option("--allowUncommitted", "Allow uncommited change in the repo") .option("--config ", "define the path of the config", { - default: ".release-me.json", + default: ".release-up.json", }) .action(async (opts, release_type, name) => { await initLogger(opts.debug); diff --git a/doc/doc.md b/doc/doc.md index 71e613e..bc6b0ed 100644 --- a/doc/doc.md +++ b/doc/doc.md @@ -30,7 +30,7 @@ e.g: "regex": { "patterns": [ "/(?<=@)(.*)(?=\/)/gm", - "(?<=release-me\/)(.*)(?=\/cli)" + "(?<=release-up\/)(.*)(?=\/cli)" ] }, ```