set-version
目的 Purpose
Sets the current application version inside the application metadata file (application.properties
)使用例 Examples
grails set-version 1.6
詳細 Description
使用方法: Usage:
grails set-version [number]
GrailsApplication
object. The version of the application is one such item of metadata. The version is used by the Grails war command to produce a versioned WAR archive and can also be used by the application at runtime to validate application state.発生するイベント: Fired Events:
StatusFinal
- When the version has been set