Skip to content

Commit

Permalink
additional logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pasha-codefresh committed Oct 24, 2024
1 parent 4245c53 commit 2676b53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/release/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ func release() error {
if err != nil {
return err
}

fmt.Printf("Commit changes")
err = commitChanges(version)
if err != nil {
return err
}

fmt.Printf("Create tag")
// git tag -a v2.9.3-2021.07.07-3a4b7f4 -m "Codefresh version for synced 2.9.3"
_ = exec.Command("git", "tag", "-d", release).Run()
cmd := exec.Command("git", "tag", "-a", release, "-m", changelog)
Expand All @@ -130,6 +130,7 @@ func release() error {
return fmt.Errorf("failed to tag: %w", err)
}

fmt.Printf("Delete tag")
// git push remote-name --delete tag-name
_ = exec.Command("git", "push", "origin", "--delete", release).Run()
// git push origin tags/version
Expand Down

0 comments on commit 2676b53

Please sign in to comment.