Skip to content

Commit

Permalink
Update version in compiled output license header.
Browse files Browse the repository at this point in the history
  • Loading branch information
MixMasterMitch committed Dec 3, 2019
1 parent d2c8726 commit d519976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion license/bundleLicenseBanner.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Amazon Kinesis Video Streams WebRTC SDK for JavaScript v0.0.1
/* Amazon Kinesis Video Streams WebRTC SDK for JavaScript vVERSION
Copyright 2019-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This product includes software developed at
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
new LicenseWebpackPlugin({
outputFilename: 'kvs-webrtc.LICENSE',
addBanner: true,
renderBanner: () => fs.readFileSync('./license/bundleLicenseBanner.txt', { encoding: 'utf-8' }),
renderBanner: () => fs.readFileSync('./license/bundleLicenseBanner.txt', { encoding: 'utf-8' }).replace('VERSION', version),
renderLicenses: modules => {
let text = fs.readFileSync('./license/bundleLicenseHeader.txt', { encoding: 'utf-8' });
modules.forEach(module => {
Expand Down

0 comments on commit d519976

Please sign in to comment.