码迷,mamicode.com
首页 > 其他好文 > 详细

github发布版本

时间:2019-10-06 09:57:15      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:sharp   composer   master   ignore   local   git tag   red   点击   版本   

github发布版本后再pacakgist能拉取到需要发布版本

 

本地 

 

mac@macdeMacBook-Pro:/www/tool$     git add .
mac@macdeMacBook-Pro:/www/tool$     git commit -m ‘test‘
[master dc1bf10] test
 6 files changed, 29 insertions(+), 8 deletions(-)
 mode change 100644 => 100755 .gitignore
 mode change 100644 => 100755 composer.json
 mode change 100644 => 100755 index.php
 rename src/{Db => }/DB.php (89%)
 mode change 100644 => 100755
 mode change 100644 => 100755 src/Redis.php
 mode change 100644 => 100755 test.php
mac@macdeMacBook-Pro:/www/tool$     git push origin master
Counting objects: 7, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 959 bytes | 959.00 KiB/s, done.
Total 7 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:brady-wang/tool.git
   16cd720..dc1bf10  master -> master
mac@macdeMacBook-Pro:/www/tool$     git tag -a v1.5 -m ‘发布我的第五个版本‘
mac@macdeMacBook-Pro:/www/tool$     git push origin v1.5
Counting objects: 1, done.
Writing objects: 100% (1/1), 186 bytes | 186.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To github.com:brady-wang/tool.git
 * [new tag]         v1.5 -> v1.5
mac@macdeMacBook-Pro:/www/tool$    

进入github项目里面

reases 点击

点击tags

点击要发布的对应的tag最右边 选择 create rease

点击发布

 

github发布版本

标签:sharp   composer   master   ignore   local   git tag   red   点击   版本   

原文地址:https://www.cnblogs.com/php-linux/p/11626433.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!