mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-11 04:02:33 +00:00
Make version number visible in UI
This commit is contained in:
parent
8dee34878d
commit
0970d3a971
@ -96,6 +96,9 @@ const partials = `
|
|||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{define "version"}}
|
{{define "version"}}
|
||||||
|
<script>
|
||||||
|
window.DRONE_VERSION = {{ .version }};
|
||||||
|
</script>
|
||||||
<meta name="version" content="{{ .version }}">
|
<meta name="version" content="{{ .version }}">
|
||||||
{{end}}
|
{{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}>
|
<div className={style.brand}>
|
||||||
<DroneIcon />
|
<DroneIcon />
|
||||||
<p>
|
<p>
|
||||||
Woodpecker<span style="margin-left: 4px;">v0.10.0</span><br />
|
Woodpecker<span style="margin-left: 4px;">{window.DRONE_VERSION}</span><br />
|
||||||
<span>
|
<span>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/laszlocph/woodpecker/blob/master/docs/usage/pipeline.md"
|
href="https://github.com/laszlocph/woodpecker/blob/master/docs/usage/pipeline.md"
|
||||||
|
Loading…
Reference in New Issue
Block a user