Skip to content

Release script fails with a newer git version #100

Description

@dprotaso

I'm using git version 2.33.0

Remote upstream URL is 'git@github.com:dprotaso/serving.git'
+ [[ -z git@github.com:dprotaso/serving.git ]]
+ setup_branch
+ [[ -z release-1.1 ]]
+ git fetch https://github.com/dprotaso/serving release-1.1:upstream/release-1.1
fatal: Refusing to fetch into current branch refs/heads/upstream/release-1.1 of non-bare repository
+ ((  IS_PROW  ))
+ git checkout -b release-1.1 upstream/release-1.1
warning: refname 'upstream/release-1.1' is ambiguous.
warning: refname 'upstream/release-1.1' is ambiguous.
fatal: Ambiguous object name: 'upstream/release-1.1'.
+ abort 'cannot checkout branch release-1.1'
+ echo 'error: cannot checkout branch release-1.1'
error: cannot checkout branch release-1.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions