1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-23 21:34:43 +03:00
gitea/services/release
Richard Mahn 8a36c46a7e
Fixes #12341: Release date should only be set to current time if draft or tag created (#12343)
* Fixes #12341: Release date should only be set to current time if draft or tag created

* Removes old date set

* Adds unit tests

* make fmt

* Fixes tests

* Adds sleep for comparing times

* Adds sleep for comparing times

* Fixes tests

Co-authored-by: Matti R <matti@mdranta.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: zeripath <art27@cantab.net>
2020-07-28 14:08:45 -04:00
..
release_test.go Fixes #12341: Release date should only be set to current time if draft or tag created (#12343) 2020-07-28 14:08:45 -04:00
release.go Fixes #12341: Release date should only be set to current time if draft or tag created (#12343) 2020-07-28 14:08:45 -04:00