Skip to content

How to live at head #3691

Dec 2, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There are a few potential issues with using a branch name instead of commit hashes:

  • The fetch will fail if the branch is removed/renamed. This happened for some users recently when the master branch was renamed to main, but this isn't likely to be a problem going forward.
  • Your builds will immediately break if breaking changes are introduced. If a specific git commit hash is used, the breaking changes can be addressed when you feel like updating.
  • Builds cease to be reproducible once new commits are made to the fetched branch.

Living at head doesn't require that you update the URL every time a new commit is made, but updating it regularly is a good idea so that you get access to the lates…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by stal12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants