go-utils
A set of utilities used by our Golang projects
Creating a new release
When making changes, a new release needs to be made in order to use the updated library in your project.
- First, make sure your
uafrica-tools
repository is up to date (minimum at commit 442f62f0
):
git pull
make install
- After your changes have been merged to the
main
branch of go-utils
, run the following command which will automatically create a new tag:
ua release
and select project uafrica/go-utils
- For your project, upgrade to the new version by running the
go get
command and specifying the new tab:
go get gitlab.com/uafrica/go-utils@v1.6.0
Note: The release documentation can be found in GitLab, by navigating to the new tag. For example: https://gitlab.com/uafrica/go-utils/-/tags/v1.6.0