From a14d0dc829971a70ac04956632470e0f457dd833 Mon Sep 17 00:00:00 2001 From: GeekMasher Date: Sun, 2 Mar 2025 15:16:24 +0000 Subject: [PATCH 1/2] feat: Update ecosystem and default --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/cli.rs | 1 + src/defaults.yml | 9 +++++++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2014bd5..8303eed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -443,7 +443,7 @@ dependencies = [ [[package]] name = "patch-release-me" -version = "0.5.0" +version = "0.5.2-dev" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index aa2519b..7f5fd08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "patch-release-me" -version = "0.5.1" +version = "0.5.2-dev" license = "MIT" description = "A tool to automate patching of your projects before you release them" diff --git a/src/cli.rs b/src/cli.rs index 00b337b..22488e6 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -85,6 +85,7 @@ pub fn init() -> Arguments { env_logger::builder() .parse_default_env() .filter_level(log_level) + .format_module_path(false) .init(); if !arguments.disable_banner { diff --git a/src/defaults.yml b/src/defaults.yml index c8e0a5a..1b4baa0 100644 --- a/src/defaults.yml +++ b/src/defaults.yml @@ -1,5 +1,8 @@ ecosystems: + Docs: + - Docs + - Documentation Rust: - Cargo Python: @@ -24,6 +27,8 @@ locations: - name: "Documentation" default: true + ecosystems: + - Docs paths: - README.md - "**/*.md" @@ -31,8 +36,8 @@ locations: patterns: # Containers - '(?:ghcr\.io|docker\.io)?[/]?{repository}:v?{version}' - # GitHub Actions - - uses:\s+${repository}@v?{version} + # GitHub Actions and subpath + - uses:\s+{repository}(?:/[A-Za-z0-9_-]+)?@v?{version} # Rust - name: "Rust Cargo" From 52c723cf2a01b66389ce25673e36580ca0323cb2 Mon Sep 17 00:00:00 2001 From: GeekMasher Date: Sun, 2 Mar 2025 15:18:54 +0000 Subject: [PATCH 2/2] feat(version): v0.5.3 --- .github/workflows/self-action.yml | 2 +- .release.yml | 2 +- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 6 +++--- actions/Dockerfile | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/self-action.yml b/.github/workflows/self-action.yml index 64ff367..8a6dc41 100644 --- a/.github/workflows/self-action.yml +++ b/.github/workflows/self-action.yml @@ -15,4 +15,4 @@ jobs: - uses: actions/checkout@v4 - name: "Run Action" - uses: 42ByteLabs/patch-release-me@0.5.1 + uses: 42ByteLabs/patch-release-me@0.5.3 diff --git a/.release.yml b/.release.yml index 1413e76..90619b7 100644 --- a/.release.yml +++ b/.release.yml @@ -1,5 +1,5 @@ name: "patch-release-me" -version: "0.5.1" +version: "0.5.3" repository: "42ByteLabs/patch-release-me" ecosystems: diff --git a/Cargo.lock b/Cargo.lock index 8303eed..7635a83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -443,7 +443,7 @@ dependencies = [ [[package]] name = "patch-release-me" -version = "0.5.2-dev" +version = "0.5.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 7f5fd08..11fb4c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "patch-release-me" -version = "0.5.2-dev" +version = "0.5.3" license = "MIT" description = "A tool to automate patching of your projects before you release them" diff --git a/README.md b/README.md index 6098c85..eff7f09 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ cargo install patch-release-me ```yaml - name: "Patch Release Me" - uses: 42ByteLabs/patch-release-me@0.5.1 + uses: 42ByteLabs/patch-release-me@0.5.3 with: # Bump (patch) mode: bump @@ -44,13 +44,13 @@ cargo install patch-release-me **Pull Container from GitHub:** ```bash -docker pull ghcr.io/42bytelabs/patch-release-me:0.5.1 +docker pull ghcr.io/42bytelabs/patch-release-me:0.5.3 ``` **Run Image:*** ```bash -docker run -it --rm -v $PWD:/app ghcr.io/42bytelabs/patch-release-me:0.5.1 patch-release-me --help +docker run -it --rm -v $PWD:/app ghcr.io/42bytelabs/patch-release-me:0.5.3 patch-release-me --help ``` ### Manual Install diff --git a/actions/Dockerfile b/actions/Dockerfile index 2e52edf..f50d090 100644 --- a/actions/Dockerfile +++ b/actions/Dockerfile @@ -1,3 +1,3 @@ -FROM ghcr.io/42bytelabs/patch-release-me:0.5.1 +FROM ghcr.io/42bytelabs/patch-release-me:0.5.3 ENTRYPOINT ["patch-release-me"]