Comments (7)
Great idea. Let's use semantic versioning (https://semver.org/).
Where should we keep track of the version in the library? In a constant inside the project?
Maybe we could use go generate
to fill a version.go
file with the version taken from the tag branch. This could be done automatically by the CI job.
Any other ideas?
from go-nmea.
The new versioned go proposal expects a git tag using semantic versioning with a v
prefix.
git tag v1.0.0
git push --tags
from go-nmea.
I need to go. I'll read that proposal and get back to you tomorrow.
from go-nmea.
No rush.
edit: I don't think we need anything other than the git tag.
from go-nmea.
Sounds good. But instead of using git tag
we could create a GitHub release with some release notes (new features, changes, bugfixes...) and that will create automatically a git tag.
I propose the following workflow:
When we want to release a version, we create a PR from a release/vX.Y.Z
branch with:
- Only one change on a file called
VERSION
that will be on the project root directory and only contain the version to be released (e.g.1.0.5
) - The release notes in the PR opening message. The release notes will have a similar format as the following projects:
- https://github.com/rexray/rexray/releases
- https://github.com/src-d/go-git/releases
- https://github.com/kataras/iris/releases
Then, once both of us approve the PR, it will merged into master and we will create a GH release with the merged version and the agreed release notes.
How does it sound?
I think we could release 1.0.0 once we merge #28.
from go-nmea.
@adrianmo sounds good to me. We just need to make sure the git tag has a v
prefix, so v1.0.0
.
from go-nmea.
Sure, we will add that when creating the GH release.
from go-nmea.
Related Issues (20)
- The LonDir function seems to be incorrect. Longitude greater than 0 should be East, but this function returns West. HOT 1
- Fails to parse correct RMC sentence
- Fails to parse IIXDR HOT 4
- Make GPGLL struct fields JSON-serializable by adding corresponding tags HOT 3
- Latitude and Longitude in Decimal Format HOT 4
- Accept other talkers than "GP" HOT 14
- Replace testify with gotestools HOT 3
- Document message specification HOT 5
- sentence checksum error reported, though both values seem the same HOT 3
- nmea: sentence checksum mismatch [6B != 6B ] HOT 2
- Parse latitude and longitude along with the context of the direction HOT 2
- Support custom message types HOT 6
- Default value for empty string HOT 14
- DPT third field depends on nmea version? HOT 3
- feature: could sentence expose list of field names it has HOT 3
- parsing errors HOT 3
- MTK implementation is currently meant/suitable only for command PMTK001 but there are other messages/commands in MTK HOT 4
- latest version (v1.5.0) does not include the new supported sentences HOT 2
- possibility to make CRC check optional for certain sentences HOT 1
- processing multiline / segmented messages HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-nmea.