github发布版本

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

点击发布

猜你喜欢

转载自www.cnblogs.com/php-linux/p/11626433.html