Skip to content

Comments

Fix goreleaser config#27

Merged
Pokom merged 1 commit intomainfrom
fix-goreleaser-deprecated-settings
Jan 23, 2025
Merged

Fix goreleaser config#27
Pokom merged 1 commit intomainfrom
fix-goreleaser-deprecated-settings

Conversation

@Pokom
Copy link
Contributor

@Pokom Pokom commented Jan 23, 2025

There was an error generating the build

│ cmd/bot/main.go:48:14: undefined: parseConfig

I believe this is because we set the entry point for the application to me cmd/bot/main.go causing go to not be able to find the dependencies. THis updates the entry point to be ./cmd/bot.

There was also a warning for a deprecated flag:

 • DEPRECATED:  archives.format  should not be used anymore, check https://goreleaser.com/deprecations#archivesformat for more info

This was updated in the .goreleaser.yaml file.

There was an error generating the build

```
│ cmd/bot/main.go:48:14: undefined: parseConfig
```

I believe this is because we set the entry point for the application to
me `cmd/bot/main.go` causing go to not be able to find the dependencies.
THis updates the entry point to be `./cmd/bot`.

There was also a warning for a deprecated flag:

```
 • DEPRECATED:  archives.format  should not be used anymore, check https://goreleaser.com/deprecations#archivesformat for more info
```

This was updated in the `.goreleaser.yaml` file.
@Pokom Pokom requested a review from a team as a code owner January 23, 2025 11:24
@Pokom Pokom merged commit 3822d54 into main Jan 23, 2025
2 checks passed
@Pokom Pokom deleted the fix-goreleaser-deprecated-settings branch January 23, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants