A repo with Github workflows and a script to migrate from bitbucket to github
Change the version for the version you want (withouth initial v)
export B2G_VERSION=0.1.0
curl -L "https://github.com/bestseller-ecom/bibucket2github_/releases/download/v${B2G_VERSION}/bibucket2github_${B2G_VERSION}_linux_amd64.tar.gz" |tar xzv -C /tmp
sudo mv /tmp/bibucket2github /usr/local/bin/bibucket2github
chmod +x /usr/local/bin/bibucket2github
export B2G_VERSION=0.1.0
curl -L "https://github.com/bestseller-ecom/bibucket2github/releases/download/v${B2G_VERSION}/git-helper_${B2G_VERSION}_darwin_amd64.tar.gz" |tar xzv -C /tmp
sudo mv /tmp/bibucket2github /usr/local/bin/bibucket2github
chmod +x /usr/local/bin/bibucket2github
- Define the envar GITHUB_TOKEN with your Github Personal Access Token PAT.
export GITHUB_TOKEN=<your-gh-pat>
Use the --help
bitbucket2github --help