diff --git a/templates/examples/examples/responsebots.js b/templates/examples/examples/responsebots.js index 20896c1ea..ce0b15f5a 100644 --- a/templates/examples/examples/responsebots.js +++ b/templates/examples/examples/responsebots.js @@ -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'); diff --git a/templates/master/lex/bot.js b/templates/master/lex/bot.js index 67cd6ff21..f3281f501 100644 --- a/templates/master/lex/bot.js +++ b/templates/master/lex/bot.js @@ -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": {