Skip to content

Commit

Permalink
Add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrav committed Apr 4, 2023
1 parent c65ff0b commit a089fab
Show file tree
Hide file tree
Showing 6 changed files with 356 additions and 19 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,21 @@ jobs:
id: cache-build
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-build
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Cargo Test
run: |
cargo test --release
cargo test
- name: Cargo Clippy
run: |
cargo clippy --release -- -W clippy::pedantic -W clippy::nursery -W clippy::unwrap_used
cargo clippy -- -W clippy::pedantic -W clippy::nursery -W clippy::unwrap_used
- name: Cargo Build Binary
run: |
Expand All @@ -46,8 +51,7 @@ jobs:
uses: docker://antonyurchenko/git-release:v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_NAME_PREFIX: "Release "
CHANGELOG_FILE: none
CHANGELOG_FILE: CHANGELOG.md
with:
args: |
target/release/*.tar.gz
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Changelog

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.0.2] - 2023-04-04

### Added

- Added changelog


<!-- [0.0.3]: https://github.com/mbrav/git_raider/compare/0.0.2...0.0.3 -->
[0.0.2]: https://github.com/mbrav/git_raider/releases/tag/0.0.2
320 changes: 320 additions & 0 deletions Cargo.lock

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

Loading

0 comments on commit a089fab

Please sign in to comment.