Skip to content

Commit

Permalink
build release 1.1.49
Browse files Browse the repository at this point in the history
  • Loading branch information
dmca-glasgow committed May 16, 2022
1 parent eb17048 commit b7ff12b
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 14 deletions.
7 changes: 4 additions & 3 deletions compiler/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ const isProd = process.env.NODE_ENV === 'production'
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const buildPath = path.join(__dirname, 'build')
const projectPath = path.join(__dirname, '..')
const releasePath = path.join(projectPath, 'release')
const projectPkg = JSON.parse(await fs.promises.readFile(path.join(projectPath, 'package.json'), 'utf-8'));
// const releasePkg = JSON.parse(await fs.promises.readFile(path.join(buildPath, 'package.json'), 'utf-8'));
const releasePkg = JSON.parse(await fs.promises.readFile(path.join(releasePath, 'package.json'), 'utf-8'));

// const currentVersion = releasePkg.version
const currentVersion = releasePkg.version
const newVersion = projectPkg.version

export default {
Expand Down Expand Up @@ -69,7 +70,7 @@ export default {
"name": 'build-coursework',
// use current version when building release so
// release-it can automatically increment the version
// "version": currentVersion,
"version": currentVersion,
"repository": "https://github.com/UofGAnalytics/build-coursework.git",
"author": "David McArthur <david.mcarthur.2@glasgow.ac.uk>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"compiler",
"template"
],
"version": "1.1.48",
"version": "1.1.49",
"repository": "https://github.com/UofGAnalytics/build-coursework.git",
"author": "David McArthur <david.mcarthur.2@glasgow.ac.uk>",
"license": "MIT",
Expand Down
60 changes: 52 additions & 8 deletions release/cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release/cli.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
"yargs": "17.4.0",
"yup": "0.32.11"
}
}
}

0 comments on commit b7ff12b

Please sign in to comment.