Fixed update script for PMD #12
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gherynos/pre-commit-java!12
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Starting from PMD 7.11.0, assets are now signed, which broke the PMD update script.
The script was finding more than one asset (
pmd-dist-VERSION-bin.zipandpmd-dist-VERSION-bin.zip.asc). To address this, I replaced thecontainscheck with a `test (regexp) to ensure the correct asset is selected. Additionally, I updated the Checkstyle script in the same manner as a precautionary measure.I also think adding a manual run option for the workflow could be a good idea. This would allow us to trigger the update process on demand when needed.
Thank you very much @abobov 😃 Yep, manual execution of the workflow sounds good, I'll add the
dispatchtrigger