Compare commits

...

2 commits

Author SHA1 Message Date
f1646375ab chore: release 1.1.0 2024-09-22 14:47:30 +01:00
733274db7a build: add prep-release recipie to justfile
Some checks failed
Test / checks (map[name:stable]) (push) Has been cancelled
Test / checks (map[name:nightly]) (push) Has been cancelled
2024-09-22 14:47:20 +01:00
4 changed files with 104 additions and 1 deletions

89
CHANGELOG.md Normal file
View file

@ -0,0 +1,89 @@
## [1.1.0] - 2024-09-22
### Build
- Add justfile for self-testing
- Add test and build checks to workflows
- Use codeberg mirror to self-test todo action
- Configure release-plz
- Customise release-plz
- Drop release-plz
- Add prep-release recipie to justfile
### Chore
- Clean up output
### Feat
- Detect and ignore non-text files
- Log errors as they are found
- Improve error messageso
### Fix
- Only look for issue number within the comment
### Refactor
- Abstract printer via Printer trait
## [1.0.0] - 2024-09-20
### Build
- Don't check README for TODO/FIXME comments
- Use v1.0.0 of the todo checker
### Chore
- *(deps)* Update actions/checkout action to v4
### Docs
- Add instructions in README
### Feat
- Add skeleton action
- Use Dockerfile (hello world)
- List contents of current directory
- Check env vars are all set
- Collect useful environment vars
- Collect env into Config and note planned operations
- Scan for TODO and FIXME markers
- Log progress ignoring files listed in .gitignore, .ignore and .rgignore
- Pretty-print found markers
- Fetch open issues
- Flag markers where issue is closed
- Log any invalid/closed markers and exit if any found
### Fix
- Specify url correctly for action
- Specify valid value for runs.using
- Recheck tests
### Refactor
- Prepare for adding tests
- Markers as enum parsed from lines
- Comment out unused code in line
- Split up main
- Collapse empty modules
- Clean up issue regex
### Test
- Add skeleton self-test
- Allow workflow to be run manually
- Add first tests for pattern matching
- Add tests for markers
### Tests
- Add tests for Config
- Add tests for init module
- Add tests for scanner module
- Add tests for main

View file

@ -1,6 +1,6 @@
[package] [package]
name = "forgejo-todo-checker" name = "forgejo-todo-checker"
version = "1.0.0" version = "1.1.0"
edition = "2021" edition = "2021"
publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.io publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.io

0
cliff.toml Normal file
View file

View file

@ -6,3 +6,17 @@ test path repo:
GITHUB_REPOSITORY=kemitix/{{ repo }} \ GITHUB_REPOSITORY=kemitix/{{ repo }} \
GITHUB_SERVER_URL=https://git.kemitix.net \ GITHUB_SERVER_URL=https://git.kemitix.net \
cargo run cargo run
next_version := `git-cliff --bumped-version | cut -b 2-`
@next:
echo "Next version: {{ next_version }}"
prep-release:
jj new -m"chore: release {{ next_version }}"
cargo set-version "{{ next_version }}"
git-cliff -o CHANGELOG.md --bump
echo "Check CHANGELOG.md for next version"
jj diff
jj status