Skip to content

Commit

Permalink
Fixed error setting data dir, fixed build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Apr 3, 2021
1 parent 1868238 commit 8670295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .release/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ go generate
for target in $targets; do
os="$(echo $target | cut -d '/' -f1)"
arch="$(echo $target | cut -d '/' -f2)"
output="release/gokapi-${os}_${arch}"
output=".release/gokapi-${os}_${arch}"
if [ $os = "windows" ]; then
output+='.exe'
fi
Expand All @@ -23,5 +23,5 @@ for target in $targets; do
done

echo "----> Build is complete. List of files at $release_path:"
cd release/
cd .release/
ls -l gokapi-*
1 change: 1 addition & 0 deletions src/configuration/Configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func generateDefaultConfig() {
ConfigVersion: currentConfigVersion,
SaltAdmin: Environment.SaltAdmin,
SaltFiles: Environment.SaltFiles,
DataDir: Environment.DataDir,
}
Save()
}
Expand Down

0 comments on commit 8670295

Please sign in to comment.