go-semantic-release / semantic-release

📦🚀 semantic-release written in Go
https://go-semantic-release.xyz
MIT License
404 stars 43 forks source link

After release it doesn't update local repo #112

Open deveshk0 opened 2 years ago

deveshk0 commented 2 years ago

After release it doesn't update local repo, so when you check for latest tag it shows the older version.

I am using followin command to get latest tag -

git describe --abbrev=0 --tags

When repo is pulled again then it shows the lates version.

cliedeman commented 2 years ago

Hi @deveshk0 can you share a bit more about the use case and which CI enviromment you are using? There is no garuntee that after the repo has been checked out that the 'runner' or github action or gitlab build step will have permissions to update the repo.

I expect git fetch --tags will work in some cases but not all