Skip to content

Commit a7a3bab

Browse files
committed
Fix no commit message error
1 parent 64c8de1 commit a7a3bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/UpdateVersion.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
class UpdateVersion extends Command
99
{
1010
protected $signature = 'update:version
11-
{--T|tag= : new app version number (optional)}
1211
{message? : Commit and changelog message (optional)}
12+
{--T|tag= : new app version number (optional)}
1313
{--deploy : Merge changes to deploy branch}';
1414
protected $description = 'Updates the app version, the changelog and commit changes to git repository';
1515

@@ -55,7 +55,7 @@ public function handle()
5555

5656
// Commit, tag and push
5757
exec("git add --all");
58-
exec('git commit -a -m "$message"');
58+
exec("git commit -a -m '$message'");
5959
exec("git tag $newVersion");
6060
exec("git push origin main --tags");
6161

0 commit comments

Comments
 (0)