Skip to content

Commit

Permalink
Corrige la façon de récupérer la version de nvm
Browse files Browse the repository at this point in the history
Avec le commentaire dans le fichier .nvmrc, le script d'installation
affichait :
```
% ./scripts/install_zds.sh +node
* [+node] installing nvm (v0.39.5) & node (v18
# needs to be also updated in .github/workflows/ci.yml) & yarn
```
  • Loading branch information
philippemilink committed Dec 15, 2024
1 parent 79a2033 commit 83f1e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/define_variable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ $ZDS_PIP_VERSION == "" ]]; then
ZDS_PIP_VERSION="24.3.1" # needs to be also updated in .github/workflows/ci.yml
fi

ZDS_NODE_VERSION=$(cat $ZDSSITE_DIR/.nvmrc)
ZDS_NODE_VERSION=$(head -n 1 $ZDSSITE_DIR/.nvmrc)

if [[ $ZDS_NVM_VERSION == "" ]]; then
ZDS_NVM_VERSION="0.39.5"
Expand Down

0 comments on commit 83f1e42

Please sign in to comment.