-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fixes #12341: Release date should only be set to current time if draft or tag created #12343
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
Fixes #12341: Release date should only be set to current time if draft or tag created #12343
Conversation
… if draft or tag created
Will make backport to 1.12 |
Need to |
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.
tests 😍
…/gitea into richmahn-12341-release-date-fix
@silverwind Looks like @techknowlogick did it for me. Was going to do that this morning. Noticed the stray commas when looking at why my tests were failing. So @techknowlogick, I fixed the tests. Waiting for build. |
…/gitea into richmahn-12341-release-date-fix
@silverwind I |
@richmahn the results of I've never had to run make fmt explicitly what editor are you using? |
@zeripath What do you mean by running it explicitly? Do your IDE format whatever you write after you change lines? I use GoLand, even though I want to use VSCode but never successfully got it to build and run tests. |
I believe both GoLand and VSCode can automatically format saved files (or however they are configured to watch). |
@jolheiser Hmm, ok, will have to look into how to configure it. I have done that in VSCode for Javascript before. |
I prevere a |
don't know how this can happen, do you use the IDE to do git stuff? |
…/gitea into richmahn-12341-release-date-fix
🚀 |
We should only change the created_unix of a release when the tag is made or if it is a draft. Currently it changes it whenever any edit is done to the release.