streamingfast / gnss-controller

0 stars 2 forks source link

Release procedure #3

Open punov opened 9 months ago

punov commented 9 months ago

@Eduard-Voiculescu @billettc How do you guys release it? gorelease references to /cmd/gnsslogger that doesn't exist, you also removed main.go from the project, so how do you usually release it?

punov commented 9 months ago

⨯ release failed after 0s error=build for gnsslogger does not contain a main function

punov commented 9 months ago

Goreleaser also keeps throwing this error for any of .gorelease.yaml files:

goreleaser release

• starting release... ⨯ release failed after 0s error=yaml: unmarshal errors: line 13: field replacements not found in type config.Archive

Version is 1.21

Eduard-Voiculescu commented 9 months ago

Hey @punov, so the issue is that there is no more main function in the code. If you check the line that talks about binaries in the goreleaser.yaml it means to say that the gnsslogger is used as a cli.

Now it seems that there isn't anymore main so it would mean that it's used as a lib. I do not know if that is intended or not.

How do you want to deploy? De you want to deploy it in the buildroot / mender?

billettc commented 9 months ago

@punov create a main file under /cmd/gnss-logger Check de data-logger main file ...

Take a look at the history at some point there was a main file.