Don't assume git pull fetches all branches/tags

While running a release, at this point in the instructions I was on the `v1.3.5-release-notes` branch.

So `git pull` isn't guaranteed to pull updates on `main` etc.

Since we're going to checkout the release tag, a `fetch` is all we need here.
This commit is contained in:
Jeff Widman
2022-11-02 16:03:03 -07:00
parent 7909d57ec2
commit 0e0e56882f

View File

@@ -200,7 +200,7 @@ jobs:
- Get the PR reviewed, merge it and publish the release
- Update the `v1` tracking tag to point to the new version
```bash
git pull
git fetch --all --tags
git checkout v1.x.x # Check out the release tag
git tag -f v1 # Force update the tracking tag
git push -f --tags