FLUID-6559: Update to work with primary branches that aren't named master

Metadata

Source
FLUID-6559
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Justin Obara
Created
2020-10-21T15:52:39.953-0400
Updated
2024-07-22T10:35:15.287-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. fluid-publish

Description

GitHub and has switched to use "main" as the name for the primary branch. (see: https://github.com/github/renaming ). fluid-publish was hardcoded to use "master" as the primary branch and would append the branch name to dev release. We should modify this so that fluid-publish can work with other any named branch as the primary or have a way to determine what the primary branch is.

Comments

  • Justin Obara commented 2020-10-21T16:50:15.247-0400

    In speaking with @@Antranig Basman in the fluid-work irc channel today, it was decided to just do the simple fix for now and check to see if the branch is either "master" or "main".