Skip to content

Commit dab312d

Browse files
committed
rollback release action changes
1 parent 42943c7 commit dab312d

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/release-branch.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,27 +30,9 @@ jobs:
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

0 commit comments

Comments
 (0)