Création des édits
This commit is contained in:
BIN
Excel/backup/Ratio_Cuisine_20251126.xlsm
Normal file
BIN
Excel/backup/Ratio_Cuisine_20251126.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Cuisine_20251128.xlsm
Normal file
BIN
Excel/backup/Ratio_Cuisine_20251128.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Cuisine_20251203.xlsm
Normal file
BIN
Excel/backup/Ratio_Cuisine_20251203.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251126.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251126.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251128.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251128.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251129.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251129.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251130.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251130.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251201.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251201.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251202.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251202.xlsm
Normal file
Binary file not shown.
BIN
Excel/backup/Ratio_Restauration_20251203.xlsm
Normal file
BIN
Excel/backup/Ratio_Restauration_20251203.xlsm
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,2 +1,2 @@
|
|||||||
4.1.15
|
4.1.20
|
||||||
2025-11-28
|
2025-12-03
|
||||||
|
|||||||
Binary file not shown.
@@ -1,2 +1,2 @@
|
|||||||
1.0.35
|
1.0.37
|
||||||
2025-12-01
|
2025-12-03
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ set VERSION_FILE=..\Excel\prod\Ratio_Cuisine_VERSION.txt
|
|||||||
|
|
||||||
echo Mise à jour de version...
|
echo Mise à jour de version...
|
||||||
python "maj_version.py" "%VERSION_FILE%"
|
python "maj_version.py" "%VERSION_FILE%"
|
||||||
REM Si tu utilises plutôt 'py', commente la ligne au-dessus et décommente celle-ci :
|
|
||||||
REM py "maj_version.py" "%VERSION_FILE%"
|
|
||||||
if errorlevel 1 (
|
if errorlevel 1 (
|
||||||
echo ERREUR lors de la mise à jour de version.
|
echo ERREUR lors de la mise à jour de version.
|
||||||
pause
|
pause
|
||||||
@@ -22,6 +20,9 @@ REM === 2) CHEMINS DES FICHIERS EXCEL ===
|
|||||||
set SRC=..\Excel\dev\Ratio_Cuisine_dev.xlsm
|
set SRC=..\Excel\dev\Ratio_Cuisine_dev.xlsm
|
||||||
set DST_DIR=..\Excel\prod
|
set DST_DIR=..\Excel\prod
|
||||||
|
|
||||||
|
REM Dossier commun de sauvegardes (Cuisine + Restauration)
|
||||||
|
set BACKUP_DIR=..\Excel\backup
|
||||||
|
|
||||||
REM Vérifications
|
REM Vérifications
|
||||||
if not exist "%SRC%" (
|
if not exist "%SRC%" (
|
||||||
echo ERREUR : fichier source introuvable :
|
echo ERREUR : fichier source introuvable :
|
||||||
@@ -37,10 +38,16 @@ if not exist "%DST_DIR%" (
|
|||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
REM === 3) GÉNÉRATION DE LA DATE AU FORMAT AAAAMMJJ (robuste, via PowerShell) ===
|
REM Création auto du dossier de sauvegarde s'il n'existe pas
|
||||||
|
if not exist "%BACKUP_DIR%" (
|
||||||
|
mkdir "%BACKUP_DIR%"
|
||||||
|
)
|
||||||
|
|
||||||
|
REM === 3) GÉNÉRATION DE LA DATE AU FORMAT AAAAMMJJ (via PowerShell) ===
|
||||||
for /f %%a in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd"') do set TODAY=%%a
|
for /f %%a in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd"') do set TODAY=%%a
|
||||||
|
|
||||||
set BACKUP=%DST_DIR%\Ratio_Cuisine_%TODAY%.xlsm
|
REM Le fichier de sauvegarde va maintenant dans BACKUP_DIR
|
||||||
|
set BACKUP=%BACKUP_DIR%\Ratio_Cuisine_%TODAY%.xlsm
|
||||||
|
|
||||||
REM === 4) COPIE VERS PROD ===
|
REM === 4) COPIE VERS PROD ===
|
||||||
echo Copie vers la version de production...
|
echo Copie vers la version de production...
|
||||||
|
|||||||
@@ -24,6 +24,13 @@ REM === 2) CHEMINS DES FICHIERS EXCEL ===
|
|||||||
set SRC=..\Excel\dev\Ratio_Restauration_dev.xlsm
|
set SRC=..\Excel\dev\Ratio_Restauration_dev.xlsm
|
||||||
set DST_DIR=..\Excel\prod
|
set DST_DIR=..\Excel\prod
|
||||||
|
|
||||||
|
REM Dossier commun de sauvegardes (Cuisine + Restauration)
|
||||||
|
set BACKUP_DIR=..\Excel\backup
|
||||||
|
|
||||||
|
if not exist "%BACKUP_DIR%" (
|
||||||
|
mkdir "%BACKUP_DIR%"
|
||||||
|
)
|
||||||
|
|
||||||
REM Vérifications
|
REM Vérifications
|
||||||
if not exist "%SRC%" (
|
if not exist "%SRC%" (
|
||||||
echo ERREUR : fichier source introuvable :
|
echo ERREUR : fichier source introuvable :
|
||||||
@@ -42,7 +49,7 @@ if not exist "%DST_DIR%" (
|
|||||||
REM === 3) GÉNÉRATION DE LA DATE AU FORMAT AAAAMMJJ ===
|
REM === 3) GÉNÉRATION DE LA DATE AU FORMAT AAAAMMJJ ===
|
||||||
for /f %%a in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd"') do set TODAY=%%a
|
for /f %%a in ('powershell -NoProfile -Command "Get-Date -Format yyyyMMdd"') do set TODAY=%%a
|
||||||
|
|
||||||
set BACKUP=%DST_DIR%\Ratio_Restauration_%TODAY%.xlsm
|
set BACKUP=%BACKUP_DIR%\Ratio_Restauration_%TODAY%.xlsm
|
||||||
|
|
||||||
REM === 4) COPIE VERS PROD ===
|
REM === 4) COPIE VERS PROD ===
|
||||||
echo Copie vers la version de production...
|
echo Copie vers la version de production...
|
||||||
@@ -55,3 +62,4 @@ copy /Y "%SRC%" "%BACKUP%"
|
|||||||
echo --- Mise en prod terminee ---
|
echo --- Mise en prod terminee ---
|
||||||
endlocal
|
endlocal
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user