Replace this with something dynamic so that the script can be the same regardless of the branch and doesn't have to be updated.
This is especially annoying when using the Maven Release Plugin's release:prepare and release:perform goals which update the pom versions, but not the workflow file.
The GitHub workflow used to automate plugin installation as part of tests currently uses hardcoded values for the JAR name https://github.com/wttech/AEM-Rules-for-SonarQube/blob/master/.github/workflows/test-instalation.yml#L44
Replace this with something dynamic so that the script can be the same regardless of the branch and doesn't have to be updated.
This is especially annoying when using the Maven Release Plugin's
release:prepare
andrelease:perform
goals which update the pom versions, but not the workflow file.