oops - thought I got that one.
All checks were successful
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 2m52s
All checks were successful
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 2m52s
This commit is contained in:
3
build.sh
3
build.sh
@@ -6,8 +6,9 @@ for distro in $(go tool dist list)
|
|||||||
do
|
do
|
||||||
arrIN=(${distro//\// })
|
arrIN=(${distro//\// })
|
||||||
|
|
||||||
if [[ ${arrIN[0]} == 'linux' || ${arrIN[0]} == 'darwin' || ${arrIN[0]} == 'freebsd' || ${arrIN[0]} == 'windows' ]]; then
|
if [[ ${arrIN[0]} == 'linux' || ${arrIN[0]} == 'darwin' ]]; then
|
||||||
echo "Building $distro..."
|
echo "Building $distro..."
|
||||||
GOOS=${arrIN[0]} GOARCH=${arrIN[1]} go build --ldflags="-X 'github.com/siteworxpro/rsa-file-encryption/printer.Version=$(git describe --tags --abbrev=0)'" -o dist/rsa-file-encryption_${arrIN[0]}_${arrIN[1]}
|
GOOS=${arrIN[0]} GOARCH=${arrIN[1]} go build --ldflags="-X 'github.com/siteworxpro/rsa-file-encryption/printer.Version=$(git describe --tags --abbrev=0)'" -o dist/rsa-file-encryption_${arrIN[0]}_${arrIN[1]}
|
||||||
|
gpg --detach-sign "dist/rsa-file-encryption_${arrIN[0]}_${arrIN[1]}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
Reference in New Issue
Block a user