Skip to content

Commit c9cffa3

Browse files
committed
sync-tags: temporarily publish only alpha tags
This commit restricts publishing to only alpha tags for now, just as a safety check so that we can verify and thoroughly test importing repos with v0.18.0-alpha.1 before turning it on for v0.17.0.
1 parent 32dd8dc commit c9cffa3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmd/sync-tags/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ func main() {
183183
// create or update tags from kTagCommits as local tags with the given prefix
184184
createdTags := []string{}
185185
for name, kh := range kTagCommits {
186+
// temporarily publish only alpha tags
187+
if !strings.Contains(name, "alpha") {
188+
continue
189+
}
190+
186191
bName := name
187192
if *prefix != "" {
188193
bName = *prefix + name[1:] // remove the v

0 commit comments

Comments
 (0)