File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,11 +143,26 @@ jobs:
143143 exit 1
144144 fi
145145
146+ # Debugging: List files in repository before copying
147+ echo "===== Files in com.checkmarx.eclipse.site/target/repository/ BEFORE COPY ====="
148+ ls -lh ../com.checkmarx.eclipse.site/target/repository/
149+
146150 # Copy new files without deleting .git directory
147151 rsync -av --delete --exclude='.git' ../com.checkmarx.eclipse.site/target/repository/ ./
148152
149- # Add and commit changes
153+ # Debugging: List files in repository after copying
154+ echo "===== Files in update-site/ AFTER COPY ====="
155+ ls -lh .
156+
157+ # Ensure large files are properly tracked by Git LFS
158+ git lfs track "plugins/*.jar"
159+ git add .gitattributes
150160 git add .
161+
162+ # Debugging: Show LFS-tracked files
163+ echo "===== Git LFS-tracked files ====="
164+ git lfs ls-files
165+
151166 git commit -m "Update Eclipse update site for ${{ env.GH_RELEASE_TAG_NAME }}" || echo "No changes to commit"
152167
153168 # Ensure the correct remote URL
@@ -156,6 +171,7 @@ jobs:
156171 # Push changes
157172 git push origin ${{ env.GH_BRANCH_NAME }}
158173
174+
159175
160176 notify :
161177 if : ${{ inputs.rbranch == '' || inputs.rbranch == null }}
You can’t perform that action at this time.
0 commit comments