Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.1.0 #195

Merged
merged 1 commit into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build-support/build-opts.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
const execSync = require('sync-exec')
const packageJSON = require('../package.json')
const { env } = process
const codap = !!env.codap // include CODAP-specific modifications

const commitHash = execSync('git log -1 --pretty=format:"%H"').stdout
const date = new Date()
const version = packageJSON.version

const replacementStrings = {
html: [
{
search: /__VERSION__/g,
replace: version
},
{
search: /__COMMIT__/g,
replace: commitHash
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cloud-file-manager",
"description": "Wrapper for providing file management for web applications",
"author": "The Concord Consortium",
"version": "1.0.1",
"version": "1.1.0",
"repository": {
"type": "git",
"url": "https://github.com/concord-consortium/cloud-file-manger"
Expand Down
2 changes: 1 addition & 1 deletion src/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>
<a href="https://github.com/concord-consortium/cloud-file-manager">Cloud File Manager Library</a>
</h1>
<p>
Commit <a href="https://github.com/concord-consortium/cloud-file-manager/commit/__COMMIT__">__COMMIT__</a> deployed on __DATE__.
Version __VERSION__ using commit <a href="https://github.com/concord-consortium/cloud-file-manager/commit/__COMMIT__">__COMMIT__</a> deployed on __DATE__.
</p>
</body>
</html>