(Quick Reference)

set-version

Purpose

Sets the current application version inside the application metadata file (application.properties)

Examples

Modificar Versión

Propósito

Establece la versión de la aplicación actual dentro del archivo de metadatos de la aplicación

grails set-version 1.6

Description

Usage:

Descripción

Uso:

grails set-version [number]

When executing Grails retains metadata about the currently executing application inside the 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

  • StatusFinal - Cuando la versión ha sido modificada