-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing branch in release bug #3108
Conversation
Is it possible to add migration to fix broken data? |
@lafriks There's no way to know what branch the releases were intended to be targeted against. |
modules/test/context_tests.go
Outdated
@@ -51,6 +52,13 @@ func LoadUser(t *testing.T, ctx *context.Context, userID int64) { | |||
ctx.User = models.AssertExistsAndLoadBean(t, &models.User{ID: userID}).(*models.User) | |||
} | |||
|
|||
func LoadGitRepo(t *testing.T, ctx *context.Context) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment or CI failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just fixed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. you didn't, it should LoadGitRepo
not LoadRepo
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, actually fixed now
4f39bb6
to
0a5c6c3
Compare
0a5c6c3
to
d52da55
Compare
Codecov Report
@@ Coverage Diff @@
## master #3108 +/- ##
==========================================
- Coverage 34.04% 34.02% -0.03%
==========================================
Files 274 274
Lines 40020 40026 +6
==========================================
- Hits 13626 13620 -6
- Misses 24455 24466 +11
- Partials 1939 1940 +1
Continue to review full report at Codecov.
|
LGTM |
LGTM |
@ethantkoenig please send a backport to release/v1.3 |
Fixes #3066. Previously, the
target
of a release would not be set if the tag already existed.