semantic-release icon indicating copy to clipboard operation
semantic-release copied to clipboard

After release it doesn't update local repo

Open deveshk0 opened this issue 2 years ago • 1 comments

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.

deveshk0 avatar Sep 21 '21 11:09 deveshk0

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

cliedeman avatar Nov 16 '21 08:11 cliedeman