Committed by
GitHub
Fix scripts for releasing go packages (#232)
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -44,6 +44,7 @@ echo "new_tag: $new_tag" | @@ -44,6 +44,7 @@ echo "new_tag: $new_tag" | ||
| 44 | git add . | 44 | git add . |
| 45 | git status | 45 | git status |
| 46 | git commit -m "Release $new_tag" && \ | 46 | git commit -m "Release $new_tag" && \ |
| 47 | +git push && \ | ||
| 47 | git tag $new_tag && \ | 48 | git tag $new_tag && \ |
| 48 | git push origin $new_tag || true | 49 | git push origin $new_tag || true |
| 49 | 50 | ||
| @@ -90,6 +91,7 @@ echo "new_tag: $new_tag" | @@ -90,6 +91,7 @@ echo "new_tag: $new_tag" | ||
| 90 | git add . | 91 | git add . |
| 91 | git status | 92 | git status |
| 92 | git commit -m "Release $new_tag" && \ | 93 | git commit -m "Release $new_tag" && \ |
| 94 | +git push && \ | ||
| 93 | git tag $new_tag && \ | 95 | git tag $new_tag && \ |
| 94 | git push origin $new_tag || true | 96 | git push origin $new_tag || true |
| 95 | 97 | ||
| @@ -135,6 +137,7 @@ echo "new_tag: $new_tag" | @@ -135,6 +137,7 @@ echo "new_tag: $new_tag" | ||
| 135 | git add . | 137 | git add . |
| 136 | git status | 138 | git status |
| 137 | git commit -m "Release $new_tag" && \ | 139 | git commit -m "Release $new_tag" && \ |
| 140 | +git push && \ | ||
| 138 | git tag $new_tag && \ | 141 | git tag $new_tag && \ |
| 139 | git push origin $new_tag || true | 142 | git push origin $new_tag || true |
| 140 | 143 |
-
请 注册 或 登录 后发表评论