mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-19 16:31:01 +00:00
Make version number visible in UI
This commit is contained in:
parent
8dee34878d
commit
0970d3a971
3 changed files with 27 additions and 20 deletions
|
@ -96,6 +96,9 @@ const partials = `
|
|||
{{end}}
|
||||
|
||||
{{define "version"}}
|
||||
<script>
|
||||
window.DRONE_VERSION = {{ .version }};
|
||||
</script>
|
||||
<meta name="version" content="{{ .version }}">
|
||||
{{end}}
|
||||
|
||||
|
|
42
web/dist/dist_gen.go
vendored
42
web/dist/dist_gen.go
vendored
File diff suppressed because one or more lines are too long
|
@ -168,7 +168,7 @@ const LOGO = (
|
|||
<div className={style.brand}>
|
||||
<DroneIcon />
|
||||
<p>
|
||||
Woodpecker<span style="margin-left: 4px;">v0.10.0</span><br />
|
||||
Woodpecker<span style="margin-left: 4px;">{window.DRONE_VERSION}</span><br />
|
||||
<span>
|
||||
<a
|
||||
href="https://github.com/laszlocph/woodpecker/blob/master/docs/usage/pipeline.md"
|
||||
|
|
Loading…
Reference in a new issue