Fixed settings version
This commit is contained in:
parent
3310b02352
commit
6ffcae265a
@ -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>
|
||||
|
||||
|
@ -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…
x
Reference in New Issue
Block a user