Skip to content

push_to_git_remote failed on a Mac that had pulled tags from remote #314

@mokagio

Description

@mokagio

This is the error I got:

/Users/gio/Developer/a8c/wpios/vendor/bundle/ruby/2.7.0/gems/fastlane-2.195.0/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': \e[0;31;49m[!] Exit status of command 'git push origin release/18.8:release/18.8 --tags' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
remote: This repository moved. Please use the new location:
remote:   git@github.com:wordpress-mobile/WordPress-iOS.git
To github.com:wordpress-mobile/wordpress-ios
   ce978a3267..4251fe5a6a  release/18.8 -> release/18.8
 ! [rejected]              16.6 -> 16.6 (already exists)
error: failed to push some refs to 'github.com:wordpress-mobile/wordpress-ios'

@AliSoftware I think it should be straightforward to tweak the push command to avoid this (remove the --tags? 🤔 ). But, I run out of time today so dumping this here without any research is the best I could do 😅

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