1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-04 18:03:20 +03:00

Small update to ease manual release generation (#7467)

This commit is contained in:
david gauchard 2020-07-23 07:34:21 +02:00 committed by GitHub
parent 555c9ebdf8
commit 83fc47f6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,16 @@
#!/bin/bash
if [ ! -z "${manualversion}" ]; then
# manual-made release based on $manualversion
ver=${manualversion}
plain_ver=${ver}
visiblever=${ver}
[ -z "${REMOTE_URL}" ] && REMOTE_URL=https://github.com/esp8266/Arduino/releases/download
else
# Extract the release name from a release
# Default to draft tag name
@ -21,6 +32,7 @@ if [ "${ver%.*}" = 0.0 ]; then
ver=`git describe --tag HEAD`
plain_ver=$ver
fi
fi
set -e