Skip to content

Commit

Permalink
feat: skip releasing all internal packages
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Kungla <[email protected]>
  • Loading branch information
mkungla committed Jan 31, 2024
1 parent 608380f commit 5e8baff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/cmd/hap/addons/releaser/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ func (p *Package) LoadReleaseInfo(sess *happy.Session) error {
p.NeedsRelease = true
p.NextRelease = fmt.Sprintf("%s%s", p.TagPrefix, "v0.1.0")
p.LastRelease = fmt.Sprintf("%s%s", p.TagPrefix, "v0.0.0")
if strings.Contains(p.Import, "internal") {
p.NeedsRelease = false
p.NextRelease = fmt.Sprintf("%s%s", p.TagPrefix, "v0.0.0")
}
return nil
}

Expand Down

0 comments on commit 5e8baff

Please sign in to comment.