From 48dc7bf71a79600dee25c5c04d9f26f390f429e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Sat, 1 Apr 2023 11:21:16 -0300 Subject: [PATCH] chore(cli): set cli version in main file --- bin/main.ts | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/main.ts b/bin/main.ts index 5d878e2..69b1238 100644 --- a/bin/main.ts +++ b/bin/main.ts @@ -7,4 +7,6 @@ const ignite = await new Ignite().load(import.meta.url, { athennaRcPath: './.athennarc.prod.json', }) +Config.set('app.version', `Athenna CLI v${process.env.APP_VERSION}`) + await ignite.artisan(process.argv, { displayName: 'Athenna' }) diff --git a/package.json b/package.json index 9e0991c..8b9e1af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/cli", - "version": "3.1.2", + "version": "3.1.3", "description": "Athenna CLI to create new Athenna projects.", "license": "MIT", "author": "João Lenon ",