- Add
gitCommitCountRepo
to count commits in repo. - Add
gitCommitCountCurrentBranch
to count commits on current branch.
gitCommitCount
has been deprecated.- In former versions,
gitCommitCount
was mistakenly implemented to count all commits in repo while intended to count only on current branch. - Use
gitCommitCountRepo
to count commits in repo, this is whatgitCommitCount
did before. - Use
gitCommitCountCurrentBranch
to count commits on current branch.
- In former versions,
- Support parsing custom SDK channels. Thanks @knthm
- Use raw string to avoid referencing variables in generated code for custom info.
- Fix generating duplicate custom command variables by running build_runner in the second time and later.
- Use
powershell
to run custom command on Windows. - Make platform related args nullable.
- Ignore custom command that both not planned to run on current platform and have no default value.
- Fix CI.
- Fix
withNullability
param issue in analyzer package APIs.- analyzer before 6.5.0 requires it but marked deprecated since 6.5.0. Keep the param.
- Add
gitCommitCount
for current rev total commit count.
- Add platform support for custom commands:
platforms
: Specify platforms to run the command on.platformDefaultValue
: Set command result value on platforms that does not run the command.
- Fix failed to generate in pure dart environment (only dart, no flutter).
- Fix test.
- Format code.
- Support custom commands.
- Initial version.