Goal of this iteration: Enhance :release task and use version from VERSION file
Currently the version defined in Dashboard.VERSION has to be updated manually. Well, this needs to changed. Therefore I created a file VERSION which contains the actual version of the code base. I also created a VersionFilter in the Assetfile which reads the version from VERSION and replaces all VERSION: 'x.y.z' with the actual version:
1 2 3 4 5 6 7 8 9 10 | |
I also enhanced the :release task of the Rakefile so it automatically deploys the current version of the dashboard, tags the current code base and bumps the version.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | |
Roundup
The changes in this post introduce an up to date Dashboard.VERSION as well as a more convenient :release task.
The result of this post’s changes are available at tag v0.0.8 (changes). As always, the result is deployed at code418.com/dashboard.