-
-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #640 from hmaarrfk/brownouts_enabled
24.7.1-1 -- Enable brownouts and update to the correct tags
- Loading branch information
Showing
3 changed files
with
35 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
if "%GITHUB_ACTIONS%"=="true" ( | ||
echo ::warning title=Mambaforge is now deprecated!::Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/. If you require mambaforge, you may pin your installer to one found from https://github.com/conda-forge/miniforge/releases/tag/24.5.0-1 | ||
echo ::warning title=Mambaforge is now deprecated!::Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/. If you require mambaforge, you may pin your installer to one found from https://github.com/conda-forge/miniforge/releases/tag/24.7.1-0 | ||
) | ||
else ( | ||
msg "%sessionname%" Mambaforge is now deprecated! Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/. If you require mambaforge, you may pin your installer to one found from https://github.com/conda-forge/miniforge/releases/tag/24.5.0-1 | ||
msg "%sessionname%" Mambaforge is now deprecated! Future Miniforge releases will NOT build Mambaforge installers. We advise you switch to Miniforge at your earliest convenience. More details at https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/. If you require mambaforge, you may pin your installer to one found from https://github.com/conda-forge/miniforge/releases/tag/24.7.1-0 | ||
) | ||
|
||
:REM for /f "delims=" %%# in ('powershell get-date -format "{yyyy-MM-dd}"') do @set _date=%%# | ||
:REM if "%_date%"=="2024-10-01" exit 1 | ||
:REM if "%_date%"=="2024-10-15" exit 1 | ||
:REM if "%_date%"=="2024-11-01" exit 1 | ||
:REM if "%_date%"=="2024-11-10" exit 1 | ||
:REM if "%_date%"=="2024-11-20" exit 1 | ||
:REM if "%_date%"=="2024-11-30" exit 1 | ||
:REM if "%_date%"=="2024-12-05" exit 1 | ||
:REM if "%_date%"=="2024-12-10" exit 1 | ||
:REM if "%_date%"=="2024-12-15" exit 1 | ||
:REM if "%_date%"=="2024-12-20" exit 1 | ||
:REM if "%_date%"=="2024-12-25" exit 1 | ||
:REM if "%_date%"=="2024-12-30" exit 1 | ||
:REM if "%_date%"=="2024-12-31" exit 1 | ||
:REM if "%_date:~0,4%"=="2025" exit 1 | ||
:REM | ||
:REM echo Sleeping for 30s... | ||
:REM powershell -nop -c "& {sleep 30}" | ||
for /f "delims=" %%# in ('powershell get-date -format "{yyyy-MM-dd}"') do @set _date=%%# | ||
if "%_date%"=="2024-10-01" exit 1 | ||
if "%_date%"=="2024-10-15" exit 1 | ||
if "%_date%"=="2024-11-01" exit 1 | ||
if "%_date%"=="2024-11-10" exit 1 | ||
if "%_date%"=="2024-11-20" exit 1 | ||
if "%_date%"=="2024-11-30" exit 1 | ||
if "%_date%"=="2024-12-05" exit 1 | ||
if "%_date%"=="2024-12-10" exit 1 | ||
if "%_date%"=="2024-12-15" exit 1 | ||
if "%_date%"=="2024-12-20" exit 1 | ||
if "%_date%"=="2024-12-25" exit 1 | ||
if "%_date%"=="2024-12-30" exit 1 | ||
if "%_date%"=="2024-12-31" exit 1 | ||
if "%_date:~0,4%"=="2025" exit 1 | ||
|
||
echo Sleeping for 30s... | ||
powershell -nop -c "& {sleep 30}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters