mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 17:18:09 +02:00
Make version number visible in UI
This commit is contained in:
parent
8dee34878d
commit
0970d3a971
@ -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 New Issue
Block a user