Skip to content

Commit

Permalink
Rename binary to gitraider
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrav committed Apr 7, 2023
1 parent 94ab817 commit 17fce38
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
- name: Cargo Build Binary
run: |
cargo build --release
chmod +x target/release/git-raider
chmod +x target/release/gitraider
- name: Optimize Binary with UPX
run: |
upx --best --lzma target/release/git-raider
upx --best --lzma target/release/gitraider
- name: Package Binary
run: |
toolchain=$(rustup toolchain list | awk '{print $1;}')
tar_name="git-raider_${{ github.ref_name }}-$toolchain"
tar -cvzf target/release/$tar_name.tar.gz target/release/git-raider
tar_name="gitraider_${{ github.ref_name }}-$toolchain"
tar -cvzf target/release/$tar_name.tar.gz target/release/gitraider
- name: Release
uses: docker://antonyurchenko/git-release:v5
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.3] - 2023-04-07

## Changed

- Rename binary from `git-raider` to `gitraider`

## [0.1.2] - 2023-04-04

Test release
Expand Down Expand Up @@ -51,6 +57,7 @@ This release marks the first full realization of project's description.

- 'None

[0.1.3]: https://github.com/mbrav/git_raider/compare/0.1.2...0.1.3
[0.1.2]: https://github.com/mbrav/git_raider/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/mbrav/git_raider/compare/0.1.0...0.1.1
[0.1.0]: https://github.com/mbrav/git_raider/compare/0.0.3...0.1.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lto = true # Enable link time optimization
codegen-units = 1 # Maximize size reduction optimizations (takes longer)

[[bin]]
name = "git-raider"
name = "gitraider"
path = "src/main.rs"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You will get the following result showing you a help dialogue:
```text
Mass git repository search, replace and commit tool
Usage: git-raider [OPTIONS]
Usage: gitraider [OPTIONS]
Options:
-p, --path <PATH> Path to repositories [env: REPO_PATH=] [default: ../repos]
Expand Down

0 comments on commit 17fce38

Please sign in to comment.