Skip to content

Commit

Permalink
fix: clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire.Nicholas authored and Claire.Nicholas committed Jan 22, 2024
1 parent 51b935c commit eca89f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ func (b *Build) Environment(workspace, channel string) map[string]string {

// check if the Build event is delete:tag
if strings.EqualFold(b.GetEvent(), constants.EventDelete) && strings.EqualFold(b.GetEventAction(), constants.ActionTag) {
// capture the tag reference
// capture the tag reference, which has been stored in the Branch variable due to issues that arose
// when the Ref is set to the deleted tag
tag := b.GetBranch()

// add the tag reference to the list
Expand Down

0 comments on commit eca89f1

Please sign in to comment.