Fix local build with pbuild.sh script#171
Merged
Merged
Conversation
This isn't needed in the GitHub Actions workflow since that runs in separate containers with their own individually-checked-out copies of the repo, but in the local build we only have one checked-out branch, and we need to figure out the other branch to build. E.g. if the checked-out branch comes from a FW9 branch, then we need to calculate which FW8 branch to build (and default to fieldworks8-master). If the checked-out branch is a FW8 branch, then we need to figure out which FW9 branch to build, and default to master.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows the pbuild.sh script to build correctly again, so that you can do local builds and get .deb packages without needing to create a PR, and without blowing away uncommitted work in your local Git repo.
This change is