mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-14 02:43:16 +00:00
TGS4 does not have changelog shitcode TGS4 does not have changelog shitcode TGS4 does not have changelog shitcode TGS4 does not have changelog shitcode TGS4 does not have changelog shitcode TGS4 does not have changelog shitcode
32 lines
643 B
PowerShell
32 lines
643 B
PowerShell
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/changelog.html 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
|