Skip to content

Commit

Permalink
Merge pull request #12 from epi-project/develop
Browse files Browse the repository at this point in the history
Fixed Github download links not working

Former-commit-id: 787ce29
  • Loading branch information
Lut99 authored May 23, 2022
2 parents 0fd86d1 + eb9ce8f commit f87292b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Created:
# 03 Mar 2022, 17:03:04
# Last edited:
# 23 May 2022, 19:46:06
# 23 May 2022, 21:26:40
# Auto updated?
# Yes
#
Expand Down Expand Up @@ -561,9 +561,9 @@ elif [[ "$target" == "cli" ]]; then

# Try to download using wget (more generally available)
if [[ -z "$version" ]]; then
exec_step wget -O "./target/$rls_dir/brane" "https://github.com/epi-project/brane/releases/downloads/latest/brane-$arch_os"
exec_step wget -O "./target/$rls_dir/brane" "https://github.com/epi-project/brane/releases/latest/download/brane-$arch_os"
else
exec_step wget -O "./target/$rls_dir/brane" "https://github.com/epi-project/brane/releases/v$version/downloads/brane-$arch_os"
exec_step wget -O "./target/$rls_dir/brane" "https://github.com/epi-project/brane/releases/download/v$version/brane-$arch_os"
fi
# Make it executable
exec_step chmod +x "./target/$rls_dir/brane"
Expand Down Expand Up @@ -712,9 +712,9 @@ elif [[ "$target" =~ -image-bin$ ]]; then
if [[ -z "$precompiled_source" ]]; then
# Try to download using wget (more generally available)
if [[ -z "$version" ]]; then
exec_step wget -O "./.container-bins/$arch/$image_name" "https://github.com/epi-project/brane/releases/downloads/latest/$image_name-$arch"
exec_step wget -O "./.container-bins/$arch/$image_name" "https://github.com/epi-project/brane/releases/latest/download/$image_name-$arch"
else
exec_step wget -O "./.container-bins/$arch/$image_name" "https://github.com/epi-project/brane/releases/v$version/downloads/$image_name-$arch"
exec_step wget -O "./.container-bins/$arch/$image_name" "https://github.com/epi-project/brane/releases/download/v$version/$image_name-$arch"
fi
precompiled_source="./.container-bins/$arch"

Expand Down

0 comments on commit f87292b

Please sign in to comment.