File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ buildProject:
24
24
rm -rf releases
25
25
mkdir releases
26
26
gox -output=" releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch=" linux/amd64 linux/arm windows/amd64 windows/386" -ldflags=" -X github.com/mxschmitt/golang-url-shortener/internal/util.ldFlagNodeJS=` node --version` -X github.com/mxschmitt/golang-url-shortener/internal/util.ldFlagCommit=` git rev-parse HEAD` -X github.com/mxschmitt/golang-url-shortener/internal/util.ldFlagYarn=` yarn --version` -X github.com/mxschmitt/golang-url-shortener/internal/util.ldFlagCompilationTime=` TZ=UTC date +%Y-%m-%dT%H:%M:%S+0000` " ./cmd/golang-url-shortener
27
- find releases -maxdepth 1 -mindepth 1 -type d -exec cp config/example.yaml {} \;
27
+ find releases -maxdepth 1 -mindepth 1 -type d -exec cp config/example.yaml {}/config.yaml \;
28
28
find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvjf {}.tar.bz2 {} \;
29
29
30
30
buildDockerImage :
You can’t perform that action at this time.
0 commit comments