Include lang directory in the dist build (#65)

* Include lang/ dir in the build

* Bump version
This commit is contained in:
Darko Gjorgjijoski
2024-05-04 15:27:40 +02:00
committed by GitHub
parent fa777d673f
commit 1e530e0387
2 changed files with 24 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ dist-gen: clean composer npm-build
@cp -r public/robots.txt InvoiceShelf/public
@cp -r public/web.config InvoiceShelf/public
@cp -r resources InvoiceShelf
@cp -r lang InvoiceShelf
@cp -r routes InvoiceShelf
@cp -r storage InvoiceShelf
@cp -r vendor InvoiceShelf 2> /dev/null || true

View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use InvoiceShelf\Models\Setting;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Setting::setSetting('version', '1.2.2');
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Setting::setSetting('version', '1.2.1');
}
};