Skip to content

Commit

Permalink
feat(packaging): update the packaging script to use Antares Solver v8…
Browse files Browse the repository at this point in the history
….8.2 (#1910)
  • Loading branch information
laurent-laporte-pro authored Jan 29, 2024
1 parent 37d0f5a commit f498e21
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/package_antares_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

set -e

ANTARES_SOLVER_VERSION="8.6"
ANTARES_SOLVER_FULL_VERSION="8.6.2"
ANTARES_SOLVER_FULL_VERSION_INT="862"
ANTARES_SOLVER_VERSION="8.8"
ANTARES_SOLVER_FULL_VERSION="8.8.2"
ANTARES_SOLVER_VERSION_INT="880"

SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
PROJECT_DIR=$(dirname -- "${SCRIPT_DIR}")
Expand Down Expand Up @@ -73,9 +73,9 @@ echo "INFO: Copying basic configuration files..."
rm -rf "${DIST_DIR}/examples" # in case of replay
cp -r "${RESOURCES_DIR}"/deploy/* "${DIST_DIR}"
if [[ "$OSTYPE" == "msys"* ]]; then
sed -i "s/VER: ANTARES_SOLVER_PATH/$ANTARES_SOLVER_FULL_VERSION_INT: .\/AntaresWeb\/antares_solver\/antares-$ANTARES_SOLVER_VERSION-solver.exe/g" "${DIST_DIR}/config.yaml"
sed -i "s/VER: ANTARES_SOLVER_PATH/$ANTARES_SOLVER_VERSION_INT: .\/AntaresWeb\/antares_solver\/antares-$ANTARES_SOLVER_VERSION-solver.exe/g" "${DIST_DIR}/config.yaml"
else
sed -i "s/VER: ANTARES_SOLVER_PATH/$ANTARES_SOLVER_FULL_VERSION_INT: .\/AntaresWeb\/antares_solver\/antares-$ANTARES_SOLVER_VERSION-solver/g" "${DIST_DIR}/config.yaml"
sed -i "s/VER: ANTARES_SOLVER_PATH/$ANTARES_SOLVER_VERSION_INT: .\/AntaresWeb\/antares_solver\/antares-$ANTARES_SOLVER_VERSION-solver/g" "${DIST_DIR}/config.yaml"
fi

echo "INFO: Creating shortcuts..."
Expand Down

0 comments on commit f498e21

Please sign in to comment.