Skip to content

Commit

Permalink
Updates release documentation to use git push --tags over `git push…
Browse files Browse the repository at this point in the history
… --follow-tags`.

`git push --follow-tags` only applies to _annotated_ tags, which is not the case for `git tag <ref>`, so it doesn't actually work for this use case. Instead we need to push the commit and tag separately.
  • Loading branch information
dgp1130 committed Feb 17, 2024
1 parent 0ebb446 commit 6984ff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ Run tests with `npm test`. Debug tests with `npm run test-debug` and then openin
```shell
git add . && git commit -m "Release v0.0.1."
git tag releases/0.0.1
git push --follow-tags
git push
git push --tags
```
1. Go to [GitHub releases](https://github.com/dgp1130/HydroActive/releases/) and create a
new release with a changelog.

0 comments on commit 6984ff5

Please sign in to comment.