Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songmu/gitsemvers
https://github.com/songmu/gitsemvers
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/songmu/gitsemvers
- Owner: Songmu
- License: mit
- Created: 2016-05-03T11:06:22.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T16:11:11.000Z (about 2 years ago)
- Last Synced: 2024-06-21T05:02:16.476Z (5 months ago)
- Language: Go
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
gitsemvers
=======[![Test Status](https://github.com/Songmu/gitsemvers/workflows/test/badge.svg?branch=main)][actions]
[![codecov.io](https://codecov.io/github/Songmu/gitsemvers/coverage.svg?branch=main)][codecov]
[![MIT License](https://img.shields.io/github/license/Songmu/gitsemvers)][license]
[![PkgGoDev](https://pkg.go.dev/badge/github.com/Songmu/gitsemvers)][PkgGoDev][actions]: https://github.com/Songmu/gitsemvers/actions?workflow=test
[codecov]: https://codecov.io/github/Songmu/gitsemvers?branch=main
[license]: https://github.com/Songmu/gitsemvers/blob/main/LICENSE
[PkgGoDev]: https://pkg.go.dev/github.com/Songmu/gitsemvers## Description
Retrieve semvers from git tags
## Synopsis
```go
sv := &gitsemvers.Semvers{RepoPath: "path/to/repo"}
semvers := sv.VersionStrings()
```## Command Line Tool
% go get github.com/Songmu/gitsemvers/cmd/git-semvers
% git-semvers
v0.9.0
...## Author
[Songmu](https://github.com/Songmu)