Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone/stable api #36

Merged
merged 23 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e1b8bad
feat: add configuration file handling and `tag_pattern` option
dloez Oct 1, 2023
ad71d7e
ci: fix workflow triggers
dloez Oct 1, 2023
8513a0a
doc: fix typo
dloez Oct 1, 2023
30e11e8
fix: modified default pattern to capture version in match group index 0
Oct 3, 2023
d8f24f4
fix: last rule condition does not trigger the rule
Oct 3, 2023
1e6b591
docs: explain how the regex pattern at `tag_pattern` should capture t…
Oct 3, 2023
19ec5f2
feat: (WIP) add bump rules to configuration
Oct 2, 2023
e4560b2
feat: configuration with custom rules for version bumping
dloez Oct 2, 2023
63b0300
refactor: modify default bump rules and use `snake_case` for deserial…
Oct 3, 2023
0c5eea8
docs: added examples and docs for bump rules in configuration file
Oct 3, 2023
d725bc0
ci: call `build_lint.yml` workflow on PRs to `milestone/*` branches
Oct 3, 2023
c40cb19
style: fix typo
Oct 3, 2023
5bb75d3
refactor: return commits instead of just commit messages from sources
Oct 4, 2023
03a59b7
refactor: (WIP) get commit fields by using a regex pattern
Oct 4, 2023
c70dafd
feat: changed and documented bump rules with a better integration of …
dloez Oct 4, 2023
267785d
docs: update `README.md` examples and fix typos
dloez Oct 4, 2023
9b32847
feat: display commits that do not follow the commit pattern and are s…
dloez Oct 7, 2023
d6fcf36
fix: capture multiline commit description
dloez Oct 7, 2023
ab32329
test: add unit tests for `version` module
dloez Oct 7, 2023
628494c
ci: call unit tests
dloez Oct 7, 2023
f32493d
refactor: clippy suggestions
dloez Oct 7, 2023
6ba5bc9
feat: use naming capturing froups to capture the version inside a tag
dloez Oct 8, 2023
4977d6b
docs: update docs for defaults values and information for naming capt…
dloez Oct 8, 2023
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
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Build and lint
name: Build, lint, and test
on:
pull_request:
branches:
- main
- 'milestone/*'
workflow_call:
push:
branches:
- 'milestone/*'
defaults:
run:
shell: bash
Expand Down Expand Up @@ -50,7 +54,7 @@ jobs:
path: ${{ github.workspace }}/target/${{ matrix.os-target.target }}/release/tag-track${{ matrix.os-target.target == 'x86_64-pc-windows-msvc' && '.exe' || '' }}
if-no-files-found: error
retention-days: 5
lint:
lint-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -64,3 +68,5 @@ jobs:
run: cargo clippy -- -D warnings
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run cargo test
run: cargo test --all
2 changes: 1 addition & 1 deletion .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main
jobs:
call-build_lint:
uses: ./.github/workflows/build_lint.yml
uses: ./.github/workflows/build_lint_test.yml
secrets: inherit
create_tag:
runs-on: ubuntu-latest
Expand Down
Loading