gitgithubgitlabgithub-actionsgithub-release

Is it possible to migrate Gitlab releases to a Github repository?


I want to migrate all the releases from a Gitlab repository that is using semantic release to a Github repository.

I can create new releases in the new Github repository starting from the last Gitlab repository, but I don't know how to transfer all Gitlab releases to Github, is this possible?


Solution

  • There is no first-party feature for this in either GitLab or GitHub (when migrating to GitHub anyhow). Scripting it would be your best bet which using the GitLab and GitHub APIs.

    Gitlab releases API

    GitHub releases API reference