mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
[MIRROR] Delete old changelog gen TGS script [MDB IGNORE] (#16502)
* Delete old changelog gen TGS script (#70159) * Delete old changelog gen TGS script Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
@echo off
|
||||
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File PreSynchronize.ps1 -game_path %1
|
||||
@@ -1,31 +0,0 @@
|
||||
param(
|
||||
$game_path
|
||||
)
|
||||
|
||||
cd $game_path
|
||||
|
||||
Write-Host "Installing pip dependencies..."
|
||||
pip3 install PyYaml beautifulsoup4
|
||||
if(!$?){
|
||||
Write-Host "pip3 returned non-zero!"
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
Write-Host "Running changelog script..."
|
||||
python3 tools/ss13_genchangelog.py html/changelogs
|
||||
if(!$?){
|
||||
Write-Host "python3 returned non-zero!"
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
Write-Host "Committing changes..."
|
||||
git add html
|
||||
|
||||
if(!$?){
|
||||
Write-Host "`git add` returned non-zero!"
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
#we now don't care about failures
|
||||
git commit -m "Automatic changelog compile, [ci skip]"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user