Fixed settings version

This commit is contained in:
Igor Zhukov 2014-05-08 21:19:14 +01:00
parent 3310b02352
commit 6ffcae265a
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@
<div class="modal_section">
<h3 class="modal_section_header">About</h3>
<div class="modal_section_body">
<p><strong>Webogram</strong> v0.0.21, <a href="https://github.com/zhukov/webogram" target="_blank">GitHub</a></p>
<p><strong>Webogram</strong> v0.1.0, <a href="https://github.com/zhukov/webogram" target="_blank">GitHub</a></p>
</div>
</div>

View File

@ -86,7 +86,7 @@ gulp.task('update-version-manifests', function() {
gulp.task('update-version-settings', function() {
return gulp.src('app/partials/settings_modal.html')
.pipe($.replace(/<span class="settings_version">alpha .*<\/span>/, '<span class="settings_version">alpha ' + pj.version + '<\/span>'))
.pipe($.replace(/\bv[\d\.]+\b/, 'v' + pj.version))
.pipe(gulp.dest('app/partials'));
});