Skip to content

Commit

Permalink
fix go version in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby committed Mar 22, 2021
1 parent ad5cbdb commit 2efd6b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/make_archives.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ for FILE in `ls`; do
if expr match "$FILE" '^lets-proxy_windows' > /dev/null; then
mv "$FILE" lets-proxy.exe
unix2dos -n config_default.toml_ config_default.toml
zip "${FILE%.exe}-go${TRAVIS_GO_VERSION}.zip" lets-proxy.exe README.txt config_default.toml
zip "${FILE%.exe}-go${GO_VERSION}.zip" lets-proxy.exe README.txt config_default.toml
rm config_default.toml
rm lets-proxy.exe
else
mv "$FILE" lets-proxy
cp config_default.toml_ config_default.toml
tar -zcvf "${FILE%.exe}-go${TRAVIS_GO_VERSION}.tar.gz" lets-proxy README.md config_default.toml
tar -zcvf "${FILE%.exe}-go${GO_VERSION}.tar.gz" lets-proxy README.md config_default.toml
rm config_default.toml
rm lets-proxy
fi
Expand Down

0 comments on commit 2efd6b7

Please sign in to comment.