Skip to content

Commit

Permalink
Updated Bot version string creation based on package version.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobpskier committed Apr 27, 2020
1 parent c0d78b7 commit 36e9caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/examples/examples/responsebots.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* in the associated Bot. Failure to do so when running an update will leave the bot in the NOT_BUILT state and you
* will need to rebuild in the AWS Console. To update description for all bots, change botDateVersion string below.
*/
const botDateVersion = "QnABot 3.0.3 - 04/26/2020 v1"; // CHANGE ME TO FORCE BOT REBUILD
const botDateVersion = process.env.npm_package_version + " - v1"; // CHANGE ME TO FORCE BOT REBUILD

var _ = require('lodash');

Expand Down
2 changes: 1 addition & 1 deletion templates/master/lex/bot.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var config=require('./config')

//must change this version to force upgrades to reapply across the entire Bot echo system
const qnabotversion = "QnABot 3.0.3 - 04/26/2020 v1";
const qnabotversion = process.env.npm_package_version + " - v1";

module.exports={
"QNAInvokePermission": {
Expand Down

0 comments on commit 36e9caa

Please sign in to comment.