diff --git a/Gruntfile.js b/Gruntfile.js index 0d34a67f3b..ccbb16935c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -54,7 +54,7 @@ if (!['development', 'production'].includes(NODE_ENV)) { let CONTRACTS_VERSION = packageJSON.contractsVersion // In development, append a timestamp so that browsers will detect a new version // and reload whenever the live server is restarted. -const GI_VERSION = packageJSON.version + (NODE_ENV === 'development' ? `@${new Date().toISOString()}` : '') +const GI_VERSION = packageJSON.version + (NODE_ENV === 'development' && process.argv[2] === 'dev' ? `@${new Date().toISOString()}` : '') // Make version info available to subprocesses. Object.assign(process.env, { CONTRACTS_VERSION, GI_VERSION }) diff --git a/package.json b/package.json index e5b900036e..29cd8413b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "group-income", - "version": "1.0.3", + "version": "1.0.4", "contractsVersion": "1.0.0", "private": true, "description": "Group Income is a decentralized and private (end-to-end encrypted) financial safety net for you and your friends.",