replace indentation
This commit is contained in:
parent
cdb98adcd3
commit
4ca1cd44c7
2 changed files with 14 additions and 13 deletions
|
|
@ -3,7 +3,8 @@
|
|||
VERSION="$1"
|
||||
|
||||
for ARCH in amd64 arm64; do
|
||||
fpm -t deb -p "build/expiration-check-$VERSION-$ARCH.deb" \
|
||||
--architecture $ARCH --version "$VERSION" \
|
||||
"build/expiration-check-linux-$ARCH"=/usr/bin/expiration-check
|
||||
fpm -t deb -p "build/expiration-check-$VERSION-$ARCH.deb" \
|
||||
--architecture $ARCH --version "$VERSION" \
|
||||
"build/expiration-check-linux-$ARCH=/usr/bin/expiration-check" \
|
||||
"build/expiration-check.1.gz=/usr/share/man/man1/expiration-check.1.gz"
|
||||
done
|
||||
|
|
|
|||
|
|
@ -3,15 +3,15 @@
|
|||
VERSION="$1"
|
||||
|
||||
for OS in linux windows darwin; do
|
||||
if [ "$OS" = "windows" ]; then
|
||||
EXTENSION=".exe"
|
||||
else
|
||||
EXTENSION=
|
||||
fi
|
||||
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
|
||||
for ARCH in amd64 arm64; do
|
||||
mv -v \
|
||||
"build/expiration-check-${OS}-${ARCH}${EXTENSION}" \
|
||||
"build/expiration-check-${VERSION}-${OS}-${ARCH}${EXTENSION}"
|
||||
done
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue