-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up. Clean up README.md and transfered some documentation in .docs.
- Loading branch information
Showing
5 changed files
with
65 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
# Version | Docs | HERY | ||
The version numbering follows the same as [Golang's](https://go.dev/doc/modules/version-numbers) standard. | ||
|
||
The versions are set in the tags in a Git repo. If no version is found then a pseudo-version number will be generated | ||
just like in [Golang](https://go.dev/doc/modules/version-numbers#pseudo-version-number). | ||
The versions are set in the tags in a Git repo. If no version is found then a pseudo-version number will be generated | ||
just like in [Golang](https://go.dev/doc/modules/version-numbers#pseudo-version-number). | ||
|
||
## Entity version numbering | ||
HERY follows the same [versioning standard as Golang](https://go.dev/doc/modules/version-numbers). | ||
|
||
| Version stage | Example | Description | | ||
|---------------------------------------|----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| In development | Automatic pseudo-version number `v0.0.0-20170915032832-14c0d48ead0c` | Indicates that the module is currently **in development and is considered unstable**. This release does not offer backward compatibility or stability assurances. | | ||
| Major version | `v1.x.x` | Indicates **public API changes that are not backward-compatible**. This release does not guarantee compatibility with previous major versions. | | ||
| Minor version | `vx.4.x` | Indicates **public API changes that are backward-compatible**. This release guarantees both backward compatibility and stability. | | ||
| Patch version | `vx.x.1` | Indicates **changes that do not impact the module's public API or its dependencies**. This release ensures backward compatibility and stability. | | ||
| Pre-release version (alpha, beta, rc) | `vx.x.x-beta.2` | Indicates that this is a **pre-release milestone, such as an alpha or beta version**. This release does not offer any stability guarantees. | | ||
|
||
## Manage Tag Versioning | ||
Steps to add a tag: | ||
```bash | ||
git tag -a v1.0.0-alpha.1 | ||
git push --tags | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# TODO | ||
[ ] Making pseudo versioning portable (will making caching a higher authority) | ||
[ ] Pseudo version first part (v0.0.0) should this following the previous tagging version | ||
|
||
## Notes | ||
### Check dependencies | ||
This would be good to have this in the pipeline. | ||
|
||
Useful to check that libraries for testing and development don't find themselves in the build version of the project: | ||
```bash | ||
go list -f '{{.Deps}}' ./main.go | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters