Skip to content

Commit 890a1e9

Browse files
ctapmexalabuzhev
authored andcommitted
get latest version of FarColorer from colorer repo
1 parent 1f9cfab commit 890a1e9

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ build_script:
108108
- copy /Y Far-NetBox\*.md ci\%configuration%.%platform%\Plugins\NetBox
109109
- copy /Y Far-NetBox\LICENSE.txt ci\%configuration%.%platform%\Plugins\NetBox
110110
#build FarColorer
111-
- set COLORER_VERSION=1.4.4
111+
- for /F "delims=" %%a in ('curl -fsLJ "https://raw.githubusercontent.com/colorer/FarColorer/master/version4far.txt"') do set COLORER_VERSION=%%a
112+
- echo "Download FarColorer %COLORER_VERSION%"
112113
- set COLORER_PLATFORM=x86
113114
- if "%platform%" == "x64" set COLORER_PLATFORM=x64
114115
- set COLORER_FILE_NAME=FarColorer.%COLORER_PLATFORM%.v%COLORER_VERSION%.7z

misc/nightly/colorer.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@
33
function bcolorer {
44
BIT=$1
55
PLUGIN=FarColorer
6-
COLORER_VERSION=1.4.4
6+
COLORER_VERSION=$(curl -fsLJ 'https://raw.githubusercontent.com/colorer/FarColorer/master/version4far.txt')
7+
if [ -z "$COLORER_VERSION" ]; then
8+
echo "Failed to get Colorer version"
9+
return 1
10+
fi
11+
12+
echo "Download FarColorer ${COLORER_VERSION}"
713
COLORER_PLATFORM=$2
814
COLORER_FILE_NAME=FarColorer.${COLORER_PLATFORM}.v${COLORER_VERSION}.7z
915

1016
rm -f ${COLORER_FILE_NAME}
11-
curl -fsLJO -o ${COLORER_FILE_NAME} https://github.com/colorer/FarColorer/releases/download/v${COLORER_VERSION}/${COLORER_FILE_NAME}
17+
curl -fsLJO -o ${COLORER_FILE_NAME} 'https://github.com/colorer/FarColorer/releases/download/v${COLORER_VERSION}/${COLORER_FILE_NAME}'
1218
if [ ! -e ${COLORER_FILE_NAME} ]; then
1319
echo "Can't find ${COLORER_FILE_NAME}"
1420
return 1

0 commit comments

Comments
 (0)