diff --git a/.release-it-fe.json b/.release-it-fe.json index 134f3d5e8..3531a683f 100644 --- a/.release-it-fe.json +++ b/.release-it-fe.json @@ -1,6 +1,6 @@ { "hooks": { - "before:init": ["npm run lint"], + "before:init": ["npm run lint", "cd frontend && npx gulp build-production"], "before:release": [ "cd frontend && npm run deploy-live", "sh ./bin/purgeCfCache.sh" diff --git a/.release-it.json b/.release-it.json index bebca1db9..eef5d328c 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,6 +1,10 @@ { "hooks": { - "before:init": ["npm run lint", "npm run test-be"], + "before:init": [ + "npm run lint", + "npm run test-be", + "cd frontend && npx gulp build-production" + ], "before:release": [ "sh ./bin/deployBackend.sh", "cd frontend && npm run deploy-live",