Commit Graph

7 Commits

Author SHA1 Message Date
Paul Stemmet 1c276d35c4 build/justfile: fix version prefix in bump-version 2022-04-03 17:53:07 +01:00
Paul Stemmet 1ac0685216
build/justfile: fix template name in _bump-git-version 2022-04-03 16:02:39 +00:00
Paul Stemmet 2b49e4068b build: explicitly select files to include in bump-version commits
and fix a typo in the output (missing 'v')
2022-04-03 16:55:34 +01:00
Paul Stemmet fcf85c98bd build: refuse to bump-version when branch is not master
and add untracked files (e.g the first CHANGELOG) to the index before
committing
2022-04-03 12:31:20 +01:00
Paul Stemmet 5c94b5802b build: ensure tag is prefixed with a 'v' in git 2022-04-03 12:31:20 +01:00
Paul Stemmet e6351d1f89 build: add changelog & patchnotes recipes, modify bump-version
bump-version has learned how to automate generation of the tag + commit
used to bump versions
2022-04-02 20:55:50 +01:00
Paul Stemmet b53e7e78a9 build/justfile: add recipes for just
Just is an improvement on Make/Makefiles for people that wish to use it
as a recipe runner rather than a build system.

We are introducing a dependency on it, as it gives us easy ways to run
arbitrarily complex commands in a composable fashion.

In particular, these recipes allow us 5 major gains:

1. Setting our repo's environment consistently (fresh-system, install-bins)
2. Run comprehensive checks on the local tree's code (lint, audit, fmt,
   test, test-all, lint-docs)
3. Utility commands for inspecting dependencies (deps, rdeps, udeps),
   documentation (docs) or git hygiene (git-branch-prune)
4. Provides extra environment vairables that can be used to control
   things like features and profile used when building, which are
   missing from Cargo and/or rustc
5. Provides a uniform interface for repo tasks, abstracting over many
   different underlying tools
2022-04-01 20:38:04 +01:00