@agent8/deploy 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/agent8.js +2 -2
  2. package/package.json +1 -1
package/bin/agent8.js CHANGED
@@ -99,7 +99,7 @@ if (fs.existsSync(serverFilePath)) {
99
99
  const hash = calculateFileHash(serverFilePath);
100
100
  newHashes["server.js"] = hash;
101
101
 
102
- if (hash !== deployedHashes["server.js"]) {
102
+ if (prodMode || hash !== deployedHashes["server.js"]) {
103
103
  filesToUpload.push({
104
104
  filePath: serverFilePath,
105
105
  uploadPath: "",
@@ -133,7 +133,7 @@ if (!previewMode) {
133
133
  const hash = calculateFileHash(fullPath);
134
134
  newHashes[deployKey] = hash;
135
135
 
136
- if (hash !== deployedHashes[deployKey]) {
136
+ if (prodMode || hash !== deployedHashes[deployKey]) {
137
137
  filesToUpload.push({
138
138
  filePath: fullPath,
139
139
  uploadPath: uploadPath === "." ? "" : uploadPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent8/deploy",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A CLI tool for running agent8 commands",
5
5
  "main": "index.js",
6
6
  "bin": {