Fix -d flag by hardcoding default branch to origin/main #18

Merged
mhfowler merged 4 commits from d-flag into main 2021-04-13 09:52:13 +00:00
mhfowler commented 2021-04-13 09:51:11 +00:00 (Migrated from github.com)

For some reason git-rev-parse was not returning the correct default branch for peach-network. Rather than go deeper into git land, I changed peach-package-builder to just assume that origin/main is the default branch, which I believe we are using for all repos. When you pass the -d flag to peach-package-builder, it ensures that the repo is on the default branch before building the package.

For some reason git-rev-parse was not returning the correct default branch for peach-network. Rather than go deeper into git land, I changed peach-package-builder to just assume that origin/main is the default branch, which I believe we are using for all repos. When you pass the -d flag to peach-package-builder, it ensures that the repo is on the default branch before building the package.
Sign in to join this conversation.
No description provided.