Updated the theme name in other places

This commit is contained in:
Sodbileg Gansukh
2023-09-15 17:47:56 +08:00
parent a112cdb10d
commit 97fda795b2
5 changed files with 12 additions and 12 deletions

View File

@@ -18,8 +18,8 @@ const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const easyimport = require('postcss-easy-import');
const REPO = 'TryGhost/Casper';
const REPO_READONLY = 'TryGhost/Casper';
const REPO = 'TryGhost/Source';
const REPO_READONLY = 'TryGhost/Source';
const CHANGELOG_PATH = path.join(process.cwd(), '.', 'changelog.md');
function serve(done) {
@@ -63,7 +63,7 @@ function js(done) {
'assets/js/lib/*.js',
'assets/js/*.js'
], {sourcemaps: true}),
concat('casper.js'),
concat('source.js'),
uglify(),
dest('assets/built/', {sourcemaps: '.'}),
livereload()
@@ -128,7 +128,7 @@ exports.release = async () => {
const compatibleWithGhost = result.compatibleWithGhost;
const releasesResponse = await releaseUtils.releases.get({
userAgent: 'Casper',
userAgent: 'Source',
uri: `https://api.github.com/repos/${REPO_READONLY}/releases`
});
@@ -158,7 +158,7 @@ exports.release = async () => {
preRelease: false,
tagName: 'v' + newVersion,
releaseName: newVersion,
userAgent: 'Casper',
userAgent: 'Source',
uri: `https://api.github.com/repos/${REPO}/releases`,
github: {
token: githubToken