-
-
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 drone git@next plugin Gitea version display when building tag #4380
Conversation
Makefile
Outdated
else | ||
VERSION ?= master | ||
endif | ||
GITEA_VERSION := $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//') |
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.
Fix indention
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.
done
Codecov Report
@@ Coverage Diff @@
## master #4380 +/- ##
=======================================
Coverage 20.06% 20.06%
=======================================
Files 153 153
Lines 30769 30769
=======================================
Hits 6174 6174
Misses 23652 23652
Partials 943 943 Continue to review full report at Codecov.
|
conflict |
697a790
to
d577f0b
Compare
@lunny conflict resolved |
Drone failure is not related to PR |
Currently Drone CI when using git@next plugin to build tagged version gitea shows sha1 instead of actual version in footer.
Fixes #4359
See comments in issue for more details