mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
Updated build.go to create latest packages correctly
This commit is contained in:
parent
b5a77d4f4a
commit
123ea331e6
2
build.go
2
build.go
@ -88,7 +88,7 @@ func main() {
|
|||||||
func makeLatestDistCopies() {
|
func makeLatestDistCopies() {
|
||||||
runError("cp", "dist/grafana_"+version+"_amd64.deb", "dist/grafana_latest_amd64.deb")
|
runError("cp", "dist/grafana_"+version+"_amd64.deb", "dist/grafana_latest_amd64.deb")
|
||||||
runError("cp", "dist/grafana-"+strings.Replace(version, "-", "_", 5)+"-1.x86_64.rpm", "dist/grafana-latest-1.x86_64.rpm")
|
runError("cp", "dist/grafana-"+strings.Replace(version, "-", "_", 5)+"-1.x86_64.rpm", "dist/grafana-latest-1.x86_64.rpm")
|
||||||
runError("cp", "dist/grafana-"+version+".x86_64.tar.gz", "dist/grafana-latest.x86_64.tar.gz")
|
runError("cp", "dist/grafana-"+version+".linux-x64.tar.gz", "dist/grafana-latest.linux-x64.tar.gz")
|
||||||
}
|
}
|
||||||
|
|
||||||
func readVersionFromPackageJson() {
|
func readVersionFromPackageJson() {
|
||||||
|
Loading…
Reference in New Issue
Block a user