Closed certa1n closed 4 years ago
Sure, I use those project-* scripts to generate release notes for my md2man, binman, tork, and dasht projects. Let's take the latter as an example:
Clone dasht:
git clone https://github.com/sunaku/dasht.git
cd dasht/
Preview the release notes for the upcoming release:
project-release-notes VERSION.md
Insert the new release notes at the top of the history file (VERSION.md
in this case):
vim VERSION.md
:0r! project-release-notes %
:wq
Update all mentions of the old release to the new release:
project-version-update VERSION.md
Inspect the changes and stage them for committing if correct:
git diff
git add -u
Commit the new release:
project-version-commit VERSION.md
You can now publish the new release whenever you're ready:
git push && git push --tags
Thank you!
Note that I renamed all of these scripts to floss-*
in commit fa687eff22857a5ba1de0d44a19bfe878a4a4487, as follows:
floss-rebase: Reapplies the stacked branch architecture: master => other => patch => minor => major
floss-merge: Merges all branches up to and including current branch into master branch.
floss-changes: Prints release notes ranging from the current branch to the master branch.
floss-reflect: Updates all text files in the project that mention the current version and/or date to match the first version and date from the HISTORY_FILE.
floss-commit: Creates a new commit or updates an existing commit that is labelled with the first version and date from the HISTORY_FILE.
floss-publish: Publishes manuals to the GitHub pages website after a project release.
Hello. Possible a small instructions abou use your any scripts?
project-release-notes project-version-commit project-version-update git-tag-versions
Thank you!