https://github.com/permafrost-dev/svt
utility for working with semantic versions
https://github.com/permafrost-dev/svt
cli developer-tools go golang semantic-versions utilities
Last synced: over 1 year ago
JSON representation
utility for working with semantic versions
- Host: GitHub
- URL: https://github.com/permafrost-dev/svt
- Owner: permafrost-dev
- License: mit
- Created: 2023-08-05T21:58:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T16:49:39.000Z (over 2 years ago)
- Last Synced: 2025-01-23T15:31:51.691Z (over 1 year ago)
- Topics: cli, developer-tools, go, golang, semantic-versions, utilities
- Language: Go
- Homepage:
- Size: 238 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# SVT - Semantic Versioning Tools
SVT is a utility for working with semantic versions written in Go.
## Available Commands
- `compare`: Compare two semantic versions, outputs "eq", "gt" or "lt".
```sh
svt compare [version-1] [version-2]
```
- `latest`: Compare two semantic versions and print the highest version.
```sh
svt latest [version-1] [version-2]
```
- `help`: Help about any command
```sh
svt help [command]
```
## Setup
```bash
go mod tidy
```
## Building the project
`svt` uses [task](https://github.com/go-task/task) for running tasks, which is a tool similar to `make`.
```bash
task build
```
---
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Patrick Organ](https://github.com/patinthehat)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.