Closed mbohun closed 9 years ago
FIXED: created a new grails plugin project .travis.yml template that is extracting the version number from ${PREFIX}GrailsPlugin.groovy
; later I can merge it into a "generic" grails template that will correctly handle BOTH types of grails projects (apps and plugins).
grails plugin projects (unlike grails app projects) do not store the version number in
application.properties
but in the${PREFIX}GrailsPlugin.groovy
file. The correct way for grails plugins.travis.yml
files is to grep/check release/snapshot from${PREFIX}GrailsPlugin.groovy
. This bug went unnoticed if the grails plugin version was not a-SNAPSHOT
; however once the version number was changed to-SNAPSHOT
the travis deployment step into maven repo fails, because the script is attempting to deploy a-SNAPSHOT
into a release repository. Reported/found by @aruizca .