Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Use dynamic versions
Browse files Browse the repository at this point in the history
  • Loading branch information
johndevs committed Nov 21, 2018
1 parent b7fa5dc commit 3bf5ee6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ class FnPrepareDockerTask extends DefaultTask {
.templateFileName(yaml.name)
.substitutions([
'applicationName' : project.name.toLowerCase(),
'version' : project.version == Project.DEFAULT_VERSION ? 'latest' : project.version,
'version' : (project.version == Project.DEFAULT_VERSION ? '' : project.version)
+ new Date().format('yyyyMMddssmm'),
'triggerName' : getTriggerName(),
'triggerPath' : getTriggerPath(),
'triggerType' : getTriggerType(),
Expand Down

0 comments on commit 3bf5ee6

Please sign in to comment.