Skip to content

Commit

Permalink
Add ignoretags fix to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 committed Oct 29, 2024
1 parent 7ba6ad2 commit 8ff8695
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .goreleaser.develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ before:
hooks:
- cmd: go mod tidy
- cmd: ./tools/bin/goreleaser_utils before_hook
git:
ignore_tags:
- contracts-ccip/v1.5.0-beta.0
partial:
by: target
nightly:
Expand Down
5 changes: 4 additions & 1 deletion tools/goreleaser-config/gen_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,15 @@ func Generate(environment string) config.Project {
Changelog: config.Changelog{
Disable: "true",
},
Git: config.Git{
IgnoreTags: []string{"contracts-ccip/v1.5.0-beta.0"},
},
}

if environment == "devspace" {
versionTemplate := `v0.0.0-{{ .Runtime.Goarch }}-{{ .Now.Format "2006-01-02-15-04-05Z" }}`
project.Snapshot = config.Snapshot{VersionTemplate: versionTemplate}
project.Nightly = config.Nightly{VersionTemplate: versionTemplate}
project.Git.IgnoreTags = []string{"contracts-ccip/v1.5.0-beta.0"}
}

// Add SBOMs if needed
Expand Down

0 comments on commit 8ff8695

Please sign in to comment.