Open VivekShingala opened 4 years ago
The default config/version.yml
will work fine with git commits once you publish the version ServiceProvider.
Here are the steps I used:
You might need to update git.version.local
to be describe --tags
flag ( see Issue #71 ) in config/version.yml
(this is the only change needed). Try this if you get the GitTagNotFound
exception.
Create a tag in the standard format (e.g. 1.0.0).
git tag 1.0.0 f8a69aef9b9852eca1073148cc228209b073c96e
Absorb the commit through the tag
php artisan version:absorb
Getting this error when trying to use @version.
I have set git-local as commit mode.
commit: mode: git-local
How to fix this error?