2021-07-31 03:05:02 +00:00
|
|
|
# lib
|
|
|
|
|
2022-05-28 19:45:41 +00:00
|
|
|
vernonkeenan Shared Libraries (go)
|
2021-08-16 17:46:59 +00:00
|
|
|
|
2022-05-28 19:45:41 +00:00
|
|
|
## Dependent Systems
|
|
|
|
|
|
|
|
The Gitea server <https://code.tnxs.net> must be up and running with admin access.
|
|
|
|
|
|
|
|
## Update Procedure
|
|
|
|
|
|
|
|
Prerequisite: All the other repos are cloned locally in adjacent directories.
|
|
|
|
|
|
|
|
* Increment branch number in local repo
|
|
|
|
|
|
|
|
* Generate all OpenAPI libraries and then cleanup modules
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make swagger
|
|
|
|
go get -u -f ./...
|
|
|
|
go mod tidy
|
|
|
|
```
|
|
|
|
|
|
|
|
* Commit and push new branch to GitHub
|
|
|
|
* On GitHub goto <https://github.com/vernonkeenan/lib/settings/branches> set the new branch to default.
|
2022-05-30 18:37:13 +00:00
|
|
|
* On GitHub goto <https://github.com/vernonkeenan/lib/releases> and publish a new release for the new branch. Make the new tag the branch name.
|
2022-05-28 19:45:41 +00:00
|
|
|
* On Gitea goto <https://code.tnxs.net/vernonkeenan/lib/settings> and click Synchronize Now.
|
2022-05-30 18:37:13 +00:00
|
|
|
* Update the ``go.mod`` line with ``code.tnxs.net/vernonkeenan/lib`` in each project to match the latest version.
|