Can I make releases public from a private github repo?

后端 未结 2 744
星月不相逢
星月不相逢 2021-01-30 13:04

I have an application which is in a private github repo, and am wondering if the releases could be made public so that the app can auto-update itself from github instead of us h

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 13:49

    A workaround would be to create a public repo, composed of:

    • empty commits (git commit --allow-empty)
    • each commit tagged
    • each tag with a release
    • each release with the deliveries (the binaries of your private app)

    That way, you have a visible repo dedicated for release hosting, and a private repos for source development.

提交回复
热议问题