update release version

do not remove current directory
This commit is contained in:
Kim 2021-09-28 13:50:46 +02:00 committed by GitHub
parent 074d033d38
commit e9ab597640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
#!/bin/sh
CWD=$(pwd)
set -e
CWD=$(pwd)
SRC=openvpn-otp
if [ ! -d ${SRC} ]; then
@ -35,7 +34,3 @@ fpm --input-type dir --output-type deb --name openvpn-otp \
--version $(git describe --tags --always) --deb-compression gz usr
cp *.deb ${CWD}
# do not confuse Jenkins by providing multiple openvpn-otp deb files
cd ${CWD}
rm -rf ${SRC}