1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00

Merge pull request #40 from YunoHost-Apps/testing

Upgrade to v2.1.1
This commit is contained in:
tituspijean 2021-10-22 21:09:59 +02:00 committed by GitHub
commit 01db2488a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 13 deletions

View file

@ -71,8 +71,8 @@ if [ ! -z "$src" ]; then
tempdir="$(mktemp -d)"
# Download sources and calculate checksum
filename=${DOWNLOAD_URL##*/}
curl --silent -4 -L $DOWNLOAD_URL -o "$tempdir/$filename"
filename=${asset_url##*/}
curl --silent -4 -L $asset_url -o "$tempdir/$filename"
checksum=$(sha256sum "$tempdir/$filename" | head -c 64)
# Delete temporary directory
@ -87,7 +87,7 @@ fi
# Rewrite source file
cat <<EOT > conf/$src.src
SOURCE_URL=$DOWNLOAD_URL
SOURCE_URL=$asset_url
SOURCE_SUM=$checksum
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=$extension
@ -113,11 +113,8 @@ done
# GENERIC FINALIZATION
#=================================================
# Install moreutils, needed for sponge
sudo apt-get install moreutils
# Replace new version in manifest
jq -s --indent 4 ".[] | .version = \"$VERSION~ynh1\"" manifest.json | sponge manifest.json
echo "$(jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json)" > manifest.json
# No need to update the README, yunohost-bot takes care of it

View file

@ -27,7 +27,7 @@ It provides a browser-based editor that makes it easy to wire together flows usi
- Custom JavaScript functions can be written
**Shipped version:** 2.0.6~ynh1
**Shipped version:** 2.1.1~ynh1

View file

@ -23,7 +23,7 @@ Il propose un éditeur accessible dans le navigateur, qui facilite l'ébauche de
- Fonctions personnalisées en JavaScript
**Version incluse :** 2.0.6~ynh1
**Version incluse :** 2.1.1~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/node-red/node-red/releases/download/2.0.6/node-red-2.0.6.zip
SOURCE_SUM=ddeeb2afebef145715c94b1888b08ee1b69290bb5440b5318c2523bf3bd0f290
SOURCE_URL=https://github.com/node-red/node-red/releases/download/2.1.1/node-red-2.1.1.zip
SOURCE_SUM=e180c35dac0bedfd12af6e892d7621019b485dfe22f403ef216f65a2340836a2
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Flow-based programming for the Internet of Things",
"fr": "Programmation par flux de données pour l'Internet des objets"
},
"version": "2.0.6~ynh1",
"version": "2.1.1~ynh1",
"url": "https://nodered.org",
"upstream": {
"license": "Apache-2.0",