dorky 1.0.6 → 1.1.0

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/index.js +7 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -259,7 +259,12 @@ function pushChanges() {
259
259
  const uploadResponse = await s3Client.send(
260
260
  new PutObjectCommand(putObjectParams)
261
261
  );
262
- if (uploadResponse) console.log(chalk.green("Uploaded " + file));
262
+ if (uploadResponse)
263
+ console.log(
264
+ chalk.green(
265
+ "Uploaded " + path.join(rootFolder.toString(), "metadata.json")
266
+ )
267
+ );
263
268
  } catch (err) {
264
269
  console.log(
265
270
  "Unable to upload file " +
@@ -428,7 +433,7 @@ if (
428
433
  } else {
429
434
  console.log(
430
435
  chalk.red(
431
- "Unable to find .dorky folder, please reinitialize the project in the root folder."
436
+ "Unable to find .dorky folder, please reinitialize the project in the root folder or set the BUCKET_NAME, AWS_ACCESS_KEY, AWS_SECRET_KEY and AWS_REGION in environment variables."
432
437
  )
433
438
  );
434
439
  exit();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dorky",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "description": "DevOps Records Keeper.",
5
5
  "main": "index.js",
6
6
  "bin": {