Skip to content

Commit

Permalink
🔥 remove beta mentioning's (#8673)
Browse files Browse the repository at this point in the history
no issue

- preparation for rc.1
  • Loading branch information
kirrg001 authored and ErisDS committed Jul 11, 2017
1 parent 1813d18 commit 35f1227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions core/server/data/db/health.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module.exports.check = function healthCheck() {
}

throw new errors.DatabaseVersionError({
message: 'Your database version is not compatible with Ghost 1.0.0 Beta (master branch)',
message: 'Your database version is not compatible with Ghost 1.0.0 (master branch)',
context: 'Want to keep your DB? Use Ghost < 1.0.0 or the "stable" branch. Otherwise please delete your DB and restart Ghost.',
help: 'More information on the Ghost 1.0.0 Alpha at https://docs.ghost.org/v1.0.0/docs/alpha-and-beta-versions'
help: 'More information on the Ghost 1.0.0 at https://docs.ghost.org/docs/introduction'
});
})
.catch(function (err) {
Expand Down
9 changes: 2 additions & 7 deletions core/server/ghost-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Handles the creation of an HTTP Server for Ghost
var debug = require('debug')('ghost:server'),
Promise = require('bluebird'),
chalk = require('chalk'),
fs = require('fs'),
path = require('path'),
_ = require('lodash'),
Expand Down Expand Up @@ -193,14 +192,10 @@ GhostServer.prototype.closeConnections = function () {
GhostServer.prototype.logStartMessages = function () {
// Startup & Shutdown messages
if (config.get('env') === 'production') {
logging.error('\nCurrently running Ghost 1.0.0 Beta, this is NOT suitable for production!\n' +
chalk.white('Please switch to the stable branch. \n') +
chalk.white('More information on the Ghost 1.0.0 Beta at: ') + chalk.cyan('https://dev.ghost.org/1-0-0-beta') + '\n'
);

logging.info(i18n.t('notices.httpServer.ghostIsRunningIn', {env: config.get('env')}));
logging.info(i18n.t('notices.httpServer.yourBlogIsAvailableOn', {url: utils.url.urlFor('home', true)}));
logging.info(i18n.t('notices.httpServer.ctrlCToShutDown'));
} else {
logging.warn('Welcome to the Ghost 1.0.0 Beta - this version of Ghost is for development only.');
logging.info(i18n.t('notices.httpServer.ghostIsRunningIn', {env: config.get('env')}));
logging.info(i18n.t('notices.httpServer.listeningOn', {
host: config.get('server').socket || config.get('server').host,
Expand Down

0 comments on commit 35f1227

Please sign in to comment.