Skip to content

Commit 9cd53df

Browse files
committed
refactor: adjust summary message
1 parent d94b2aa commit 9cd53df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tag.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ func main() {
126126
}
127127
defer f.Close()
128128

129-
if imgTagged {
130-
if dryrun {
131-
f.WriteString(":warning: This is a dry run, no versions were actually tagged.\n\n")
132-
}
129+
f.WriteString("## Tagged versions\n\n")
130+
if dryrun {
131+
f.WriteString(":warning: This is a dry run, no versions were actually tagged.\n\n")
132+
}
133133

134-
f.WriteString("## Tagged versions\n\n")
134+
if imgTagged {
135135
f.WriteString("| Digest | New Tag |\n|--------------|--------------|\n")
136136
f.WriteString(taggedVersions + "\n")
137137
} else {

0 commit comments

Comments
 (0)