File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 3030
3131 - name : Strip multi-line comments
3232 run : find . -name "*.simba" -type f -exec perl -0777 -i -pe 's/\(\*.*?\*\)//gs' {} +
33-
34- - name : Strip single-line comments
35- run : find . -name "*.simba" -type f -exec perl -0777 -i -pe 's{//.*$}{}gm' {} +
36-
37- - name : Trim multiple empty lines in .simba files
38- run : find . -name "*.simba" -type f -exec perl -0777 -i -pe 's/\n[ \t]*(\n[ \t]*)+/\n/g' {} +
3933
4034 - name : Commit and push to release
4135 run : |
4236 git add .
4337 git commit -m "Sync release with main and strip comments" || echo "No changes to commit"
44- git push origin release --force
45-
46- - name : Check release branch size
47- run : |
48- echo "Release branch size:"
49- du -sh .
50-
51- - name : Check main branch size
52- run : |
53- git fetch origin main
54- git checkout -b temp-main origin/main
55- echo "Main branch size:"
56- du -sh .
38+ git push origin release --force
You can’t perform that action at this time.
0 commit comments