Skip to content

Commit

Permalink
server: improve testmerge worker 24
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell committed Nov 4, 2024
1 parent 9b30cdb commit b9fb7e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/testmerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,6 @@ jobs:
git config --local user.name "Changelog Generation"
git commit -m "Automatic changelog generation"
fi
# Generate TGUI bundle
./tgui/bin/tgui
CHANGES=$(git diff --name-only --cached | wc -l)
if [ "$CHANGES" -gt 0 ] ; then
git config --local user.email "[email protected]"
git config --local user.name "TGUI bundle Generation"
git commit -m "Testmerge TGUI bundle build generation"
fi
git push -f origin ${{ env.TESTMERGE_BRANCH }}
Expand Down
4 changes: 3 additions & 1 deletion tgui/bin/tgui
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ task-merge-bundle() {
echo "----------------------"
echo "tgui: prepping to replace a conflicted bundle"
cat $file_path > $file_current
task-rebuild-conflicted-bundle
task-rebuild-conflicted-bundle &
exit 0
}

Expand All @@ -145,6 +145,8 @@ task-rebuild-conflicted-bundle() {
echo "tgui: rebuilding a conflicted tgui bundle, ${file_path}"
task-install
task-webpack --mode=production
echo "tgui: committing new bundle"
git commit -am "TGUI Bundle Rebuild"
exit 0
}

Expand Down

0 comments on commit b9fb7e2

Please sign in to comment.