Skip to content

Commit

Permalink
BF for continous integration with tag reference
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienRietteMTO committed Nov 4, 2024
1 parent c272869 commit f173b70
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tools/INSTALL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,13 @@ if [ $pyft -eq 1 ]; then
else
#Update
cd pyft
if ! git rev-parse ${pyft_version}^{commit} > /dev/null 2>&1; then
if [ $ssh -eq 1 ]; then
git fetch [email protected]:UMR-CNRM/pyft.git
else
git fetch https://github.com/UMR-CNRM/pyft.git
fi
if [ $ssh -eq 1 ]; then
git fetch --tags [email protected]:UMR-CNRM/pyft.git
else
git fetch --tags https://github.com/UMR-CNRM/pyft.git
fi
fi
if [ $(git rev-parse HEAD^{commit}) != $(git rev-parse ${pyft_version}^{commit}) ]; then
git checkout ${pyft_version}
fi
git checkout ${pyft_version}
cd ..
#Install/update
if [ $ssh -eq 1 ]; then
Expand Down

0 comments on commit f173b70

Please sign in to comment.