This repo is comprised of utilities that I use across various go projects.
-
python3 -m pip install --upgrade pip python3 -m pip install pre-commit
-
go install github.com/magefile/mage@latest
-
python3 -m pip install --upgrade pip python3 -m pip install keepercommander
-
Install dependencies:
mage installDeps
-
Update and run pre-commit hooks locally:
mage runPreCommit
-
Download and install the gh cli tool:
-
Install changelog extension:
gh extension install chelnak/gh-changelog
-
Generate changelog:
NEXT_VERSION=v1.1.3 gh changelog new --next-version "${NEXT_VERSION}"
-
Create release:
gh release create "${NEXT_VERSION}" -F CHANGELOG.md