Closed hipoagencia closed 10 months ago
The package does support Laravel 9, but how do you install it in laravel 9?
and try run git describe --tags --abbrev=0
and tell me output
if you run this git describe --tags --abbrev=0
you get the same message because you don't create any release or tag
The package does support Laravel 9, but how do you install it in laravel 9? and try run
git describe --tags --abbrev=0
and tell me output
Sorry! Its 10.29.0 version.
if you run this
git describe --tags --abbrev=0
you get the same message because you don't create any release or tag
I didnt get what i have to do. I never done anything like that. Maybe my GITHUB_REPOSITORY is wrong?
if you run this
git describe --tags --abbrev=0
you get the same message because you don't create any release or tag
Or maybe i didnt set the right permission in Github Token
you create a release of your project?
this ex of env:
GITHUB_TOKEN=ghp_1234567890
GITHUB_USERNAME=salahhusa9
GITHUB_REPOSITORY=laravel-updater
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
Okay, i think that i'm dumb hahaha. Already created a release and the error persists.
run git pull and retry
Thanks for your help! Its working for the first time. But when i use the command, i have to stash and merge into a brench.. do you know how to fix that?
This is what happen when i try to run for the second time
` You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch>
at vendor/salahhusa9/laravel-updater/src/Helpers/Git.php:94 90▕ { 91▕ $process = Process::run(self::gitPath().' pull'); 92▕ 93▕ if ($process->failed()) { ➜ 94▕ throw new \Exception($process->errorOutput()); 95▕ } 96▕ 97▕ return trim($process->output()); 98▕ }
+19 vendor frames
`
run git status and get me output
run git status and get me output
`
HEAD detached at 1.0.2
Untracked files:
(use "git add
nothing added to commit but untracked files present (use "git add" to track) `
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
go back to main branch and push this file and create new release of put this file in .gitignore and commit
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 <3
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 <3
no problem
I'm having the same error:
PS C:\laragon\www\wms> git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: composer.json
modified: composer.lock
no changes added to commit (use "git add" and/or "git commit -a")
PS C:\laragon\www\wms>
@jhoanborges just commit your local change before 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