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:
parent
555c9ebdf8
commit
83fc47f6d9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user