使版本化文件可供下载的最佳方法是什么
我有一个小型 PHP 框架,我想提供下载。它位于 git 存储库中。但最后一个版本并不总是我想要提供下载的版本。有没有地方可以提供版本供下载。
关于这个框架的另一件事是我为该框架带来了额外的组件。这些也有不同的版本。
是否有地方可以添加整个项目,人们可以浏览所有内容并下载他们需要的内容。
或者我应该自己做这个?
I have a small PHP framework which I want to make available for download. It is located in a git repository. But the last version is not always the one that I want to make available for download. Is there some place I can make the versions available for download.
Another thing about this framework is that I bring out additional components for the framework. These also have different versions.
Is there somewhere where I can add the whole project, and people can browse trough everything and download what they need.
Or should I make this myself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用标记。这是一种记录存储库历史记录中特定时间(或者更确切地说,特定提交)的“快照”的方法。
另外,请查看 git-archive。该命令将任何特定提交(例如,使用标签!)的存储库内容导出到存档(无版本控制)中。
Use tagging. It is a way to make note of a "snapshot" of your repository at a particular time (or, rather, at a particular commit) in its history.
Also, look at git-archive. The command exports the content of your repository at any particular commit (e.g., using tag!) into an archive (unversioned).
只需将其放在 github.com 上并使用标签来标记特定状态,并且可能是您的开发的可用状态。
Just put it on github.com and use tags to mark particular states and may be usable states of your development.
如果它是开源的,您可以尝试 Google Project Hosting 或 Sourceforge
If it is opensource you could try Google Project Hosting or Sourceforge