Skip to content

Commit

Permalink
ci(deploy): remove unecessary lines in deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maugde committed Aug 22, 2024
1 parent b74c443 commit 208f2dc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions scripts/package_antares_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ PROJECT_DIR=$(dirname -- "${SCRIPT_DIR}")
DIST_DIR="${PROJECT_DIR}/dist/package"
RESOURCES_DIR="${PROJECT_DIR}/resources"
ANTARES_SOLVER_DIR="${DIST_DIR}/AntaresWeb/antares_solver"
INSTALLER_DIR="${PROJECT_DIR}/installer/src/antares_web_installer/"

if [[ "$OSTYPE" == "msys"* ]]; then
ANTARES_SOLVER_FOLDER_NAME="rte-antares-$ANTARES_SOLVER_FULL_VERSION-installer-64bits"
Expand Down Expand Up @@ -46,18 +45,6 @@ else
popd
fi

echo "INFO: Generating the Installer for the Desktop application..."
echo which python
if [[ "$OSTYPE" == "msys"* ]]; then
pushd ${PROJECT_DIR}
pyinstaller --onefile "${INSTALLER_DIR}gui/__main__.py" --distpath "${DIST_DIR}" --hidden-import antares_web_installer.shortcuts._linux_shell --hidden-import antares_web_installer.shortcuts._win32_shell --noconsole --name AntaresWebInstaller
popd
else
pushd ${PROJECT_DIR}
pyinstaller --onefile "${INSTALLER_DIR}cli/__main__.py" --distpath "${DIST_DIR}" --hidden-import antares_web_installer.shortcuts._linux_shell --hidden-import antares_web_installer.shortcuts._win32_shell --noconsole --name AntaresWebInstallerCLI
popd
fi

echo "INFO: Creating destination directory '${ANTARES_SOLVER_DIR}'..."
mkdir -p "${ANTARES_SOLVER_DIR}"

Expand Down

0 comments on commit 208f2dc

Please sign in to comment.