17 lines
311 B
Bash
Executable file
17 lines
311 B
Bash
Executable file
#!/bin/sh
|
|
|
|
VERSION="$1"
|
|
|
|
for OS in linux windows darwin; do
|
|
if [ "$OS" = "windows" ]; then
|
|
EXTENSION=".exe"
|
|
else
|
|
EXTENSION=
|
|
fi
|
|
|
|
for ARCH in amd64 arm64; do
|
|
mv -v \
|
|
"build/expiration-check-${OS}-${ARCH}${EXTENSION}" \
|
|
"build/expiration-check-${VERSION}-${OS}-${ARCH}${EXTENSION}"
|
|
done
|
|
done
|