Skip to content

Commit 4fbc6a9

Browse files
committed
[changelog] updated changelog
1 parent 276706e commit 4fbc6a9

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

.werft/changelog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pod:
3434
set -Eeuo pipefail
3535
export GITHUB_TOKEN=$(echo $GITHUB_TOKEN | xargs)
3636
export GIT_REF={{ .Repository.Ref }}
37-
export GIT_BRANCH=main #${GIT_REF/refs\/heads\//}
37+
export GIT_BRANCH=${GIT_REF/refs\/heads\//}
3838
export PR_BRANCH=$(date '+rq/changelog_%Y%m%d%H%M')
3939
git checkout -b $PR_BRANCH
4040
/app/changelog update -t $GITHUB_TOKEN -o {{ .Repository.Owner }} -r {{ .Repository.Repo }} -b $GIT_BRANCH

dev/changelog/pullrequest.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ var pullRequestCommand = &cobra.Command{
8888
}
8989
logger.WithField("url", pr.URL).WithField("pr", pr.Number).Info("PR approval comment added")
9090

91-
<<<<<<< HEAD
92-
labels, _, err := client.Issues.AddLabelsToIssue(context, prOpts.Org, prOpts.Repo, *pr.Number, []string{"lgtm"})
93-
=======
9491
labels, _, err := client.Issues.AddLabelsToIssue(context, prOpts.Org, prOpts.Repo, *pr.Number, []string{"lgtm", "approved"})
95-
>>>>>>> 1d9688eb ([changelog] sort release notes by merge date and wait for prow to add labels)
9692
if err != nil {
9793
logger.WithError(err).Fatal("Error setting labels")
9894
}

dev/changelog/update.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,6 @@ func GetReleaseNotes(c *github.Client, opts *UpdateOptions, lastPrNr int, lastPr
151151
Page: 1,
152152
},
153153
}
154-
<<<<<<< HEAD
155-
defer sort.SliceStable(releaseNotes, func(i, j int) bool {
156-
return releaseNotes[i].MergedAt.After(releaseNotes[j].MergedAt)
157-
})
158-
=======
159-
>>>>>>> 1d9688eb ([changelog] sort release notes by merge date and wait for prow to add labels)
160154

161155
for {
162156
logger.Infof("Querying PRs from GitHub, page %d", listingOpts.ListOptions.Page)

0 commit comments

Comments
 (0)