Changed filepath of Config
This commit is contained in:
parent
d86d54d2ec
commit
b87065b548
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
target*
|
||||
source*
|
||||
go-gluon-publish
|
||||
|
@ -81,7 +81,7 @@ func GetGluonVersion(path string) string {
|
||||
}
|
||||
|
||||
func readVersions(branch string) string {
|
||||
filePath := "release_state.json"
|
||||
filePath := "/srv/fwuploads-tmp/bin/release_state.json"
|
||||
v, err := ioutil.ReadFile(filePath)
|
||||
if err != nil {
|
||||
log.Fatalln("Error reading version JSON file!")
|
||||
|
Loading…
Reference in New Issue
Block a user