This repo is comprised of aws 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
-
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
-
Update and run pre-commit hooks locally:
mage runPreCommit
-
If running tests, create a
test_env
file fromtest_env_template
and fill out all TODO values.Once all vars are filled out, export them:
source test_env
Alternatively, you can debug with vscode by removing the export statements in front of each variable.