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 2014bd5..7635a83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -443,7 +443,7 @@ dependencies = [ [[package]] name = "patch-release-me" -version = "0.5.0" +version = "0.5.3" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index aa2519b..11fb4c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "patch-release-me" -version = "0.5.1" +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"] 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"