1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00
jupyterlab_ynh/scripts/_common.sh
Éric Gaspar 59c8415470 fix
2024-09-01 18:11:00 +02:00

14 lines
438 B
Bash

#!/bin/bash
#=================================================
# COMMON VARIABLES AND CUSTOM HELPERS
#=================================================
nodejs_version="18"
jupyterlab_upstream_version() {
upstream_repository=$(ynh_read_manifest
upstream_url=$(ynh_read_manifest)
upstream_commit=$(echo "$upstream_url" | sed -e "s|^${upstream_repository}/archive/refs/tags/\(.*\)\.tar\.gz|\1|")
echo "$upstream_commit"
}