Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/self-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "patch-release-me"
version: "0.5.1"
version: "0.5.3"
repository: "42ByteLabs/patch-release-me"

ecosystems:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion actions/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
1 change: 1 addition & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
9 changes: 7 additions & 2 deletions src/defaults.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

ecosystems:
Docs:
- Docs
- Documentation
Rust:
- Cargo
Python:
Expand All @@ -24,15 +27,17 @@ locations:

- name: "Documentation"
default: true
ecosystems:
- Docs
paths:
- README.md
- "**/*.md"
- "**/*.rst"
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"
Expand Down