Browse Source

Fixed settings version

master
Igor Zhukov 11 years ago
parent
commit
6ffcae265a
  1. 2
      app/partials/settings_modal.html
  2. 2
      gulpfile.js

2
app/partials/settings_modal.html

@ -92,7 +92,7 @@ @@ -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>

2
gulpfile.js

@ -86,7 +86,7 @@ gulp.task('update-version-manifests', function() { @@ -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'));
});

Loading…
Cancel
Save