Skip to content

Commit

Permalink
build release 1.1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
daviestar committed Nov 22, 2021
1 parent a8a3027 commit 7089fa7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compiler/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = {
// },
// path.join(__dirname, 'package.json')
// ),
new InlineEnvironmentVariablesPlugin({ VERSION: '1.1.25' }),
new InlineEnvironmentVariablesPlugin({ VERSION: '1.1.26' }),
new CopyPlugin({
patterns: [
{ from: './src/knitr/knitr.R', to: './' },
Expand Down
4 changes: 2 additions & 2 deletions release/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ function createKnitrCommand(file, ctx, uniqueId) {
const baseDir = file.dirname || '';
const rFile = external_path_default().join(__dirname, 'knitr.R');
const cacheDir = external_path_default().join(ctx.cacheDir, uniqueId);
let cmd = `Rscript ${rFile} ${filePath} ${baseDir}/ "${cacheDir}/"`;
let cmd = `Rscript "${rFile}" "${filePath}" "${baseDir}/" "${cacheDir}/"`;

if (ctx.options.pythonBin) {
cmd += ` "${ctx.options.pythonBin}"`;
Expand Down Expand Up @@ -3320,7 +3320,7 @@ async function checkForLatestVersion() {
const response = await external_node_fetch_default()(`https://api.github.com/repos/${repo}/releases/latest`);
const json = await response.json();
const latestTag = json.tag_name.replace('v', '');
const currentVersion = "1.1.25";
const currentVersion = "1.1.26";

if (latestTag !== currentVersion) {
console.log(external_chalk_default().yellow.bold('New version available'));
Expand Down
4 changes: 2 additions & 2 deletions release/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -10735,7 +10735,7 @@ function createKnitrCommand(file, ctx, uniqueId) {
const baseDir = file.dirname || '';
const rFile = path.join(__dirname, 'knitr.R');
const cacheDir = path.join(ctx.cacheDir, uniqueId);
let cmd = `Rscript ${rFile} ${filePath} ${baseDir}/ "${cacheDir}/"`;
let cmd = `Rscript "${rFile}" "${filePath}" "${baseDir}/" "${cacheDir}/"`;

if (ctx.options.pythonBin) {
cmd += ` "${ctx.options.pythonBin}"`;
Expand Down Expand Up @@ -12660,7 +12660,7 @@ async function check_for_latest_version_checkForLatestVersion() {
const response = await fetch(`https://api.github.com/repos/${repo}/releases/latest`);
const json = await response.json();
const latestTag = json.tag_name.replace('v', '');
const currentVersion = "1.1.25";
const currentVersion = "1.1.26";

if (latestTag !== currentVersion) {
console.log(chalk.yellow.bold('New version available'));
Expand Down

0 comments on commit 7089fa7

Please sign in to comment.