Skip to content

go install fails with latest v2.60.0 #9818

Closed

Description

@winkingturtle-vmw

Describe the bug

After releasing v2.60.0, it looks like there is a replace directive that is breaking go install workflow due to it's design.

Steps to reproduce the behavior

  1. go install github.com/cli/cli/v2/cmd/gh@v2.60.0
 	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

Expected vs actual behavior

go install should still pass.

Logs

Activity

  1. added
    bug
    on Oct 25, 2024
  2. added
    needs-triage
    on Oct 25, 2024
  3. williammartin commented on Oct 25, 2024

    @williammartin
    Member

    Ah, that's unfortunate. Let me look into it asap! Thanks for bringing it to my attention.

  4. andyfeller commented on Oct 25, 2024

    @andyfeller
    Contributor

    Thanks for raising this concern, @winkingturtle-vmw! ❤

    This change appears to be due to #9804 for redacting GitHub token used in testing. I see @williammartin was faster than I and is already on the case, so I'll defer to him.

  5. williammartin commented on Oct 25, 2024

    @williammartin
    Member

    @winkingturtle-vmw can you double check that:

    go install github.com/cli/cli/v2/cmd/gh@hard-fork-go-internal
    

    Works for you?

  6. williammartin commented on Oct 25, 2024

    @williammartin
    Member

    This should be fixed in v2.60.1, thanks.

  7. winkingturtle-vmw commented on Oct 28, 2024

    @winkingturtle-vmw
    Author

    Thank you @williammartin it's nice see a fellow pivot again.

  8. Maxim17081983 commented on Oct 28, 2024

    @Maxim17081983
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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions