laravel-updater: [Bug]: Errors while trying to update

What happened?

I cant make php artisan updater:update work

How to reproduce the bug

Just use the command

Package Version

0.1

PHP Version

8.2

Laravel Version

9

Which operating systems does with happen with?

Linux

Notes

Hello… This is the error! Thanks

 fatal: No names found, cannot describe anything.

  at vendor/salahhusa9/laravel-updater/src/Helpers/Git.php:58
     54▕     {
     55▕         $process = Process::run(self::gitPath().' describe --tags --abbrev=0');
     56▕
     57▕         if ($process->failed()) {
  ➜  58▕             throw new \Exception($process->errorOutput());
     59▕         }
     60▕
     61▕         return trim($process->output());
     62▕     }

      +16 vendor frames

  17  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

as i think the problem is in git not in package, you are now in 1.0.2 it’s good but you don’t commit this file composer.phar

Oh okay! I will check what i need to do. Anyway, thanks for your help! The package is just great ❤️

no problem

run git status and get me output

you create a release of your project?

Oh… i never created any project using release. They are always private haha. My bad. I will try now