Skip to content

Commit

Permalink
Auto-release all clients when publishing with Maven
Browse files Browse the repository at this point in the history
This property is covered in [the
docs](https://central.sonatype.org/publish/publish-maven/#nexus-staging-maven-plugin-for-deployment-and-release).
It also allows for a manual review opportunity... but given that we don't do
that, and that we test first, let's not go there.
  • Loading branch information
arielshaqed committed Nov 17, 2024
1 parent 11b2d8a commit 8e00fbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
Expand Down
5 changes: 5 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,11 @@ type Config struct {
Enabled bool `mapstructure:"enabled"`
FlushInterval time.Duration `mapstructure:"flush_interval"`
} `mapstructure:"usage_report"`
Plugins map[string]struct {
Name string
Path string
Config map[string]interface{}
}
}

func NewConfig(cfgType string) (*Config, error) {
Expand Down

0 comments on commit 8e00fbb

Please sign in to comment.