Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After release it doesn't update local repo #112

Open
deveshk0 opened this issue Sep 21, 2021 · 1 comment
Open

After release it doesn't update local repo #112

deveshk0 opened this issue Sep 21, 2021 · 1 comment

Comments

@deveshk0
Copy link

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants