mirror of
				https://github.com/xiaoqidun/gitcz.git
				synced 2025-10-30 06:59:37 +08:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			v1.0.2
			...
			23618d81ad
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 23618d81ad | |||
| bf37f8a281 | |||
| ce68380357 | 
							
								
								
									
										22
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -3,8 +3,26 @@ type: docker | |||||||
| name: default | name: default | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
|  |   - name: generate | ||||||
|  |     pull: if-not-exists | ||||||
|  |     image: hkccr.ccs.tencentyun.com/xiaoqidun/build | ||||||
|  |     commands: | ||||||
|  |       - build -f build.sh -i gitcz.go -o release/gitcz | ||||||
|   - name: build |   - name: build | ||||||
|     pull: if-not-exists |     pull: if-not-exists | ||||||
|     image: golang:alpine |     image: xiaoqidun/goenv | ||||||
|     commands: |     commands: | ||||||
|       - go build gitcz.go |       - chmod +x build.sh | ||||||
|  |       - ./ build.sh | ||||||
|  |   - name: upload | ||||||
|  |     image: xiaoqidun/gocos | ||||||
|  |     settings: | ||||||
|  |       secret_id: | ||||||
|  |         from_secret: cos_secret_id | ||||||
|  |       secret_key: | ||||||
|  |         from_secret: cos_secret_key | ||||||
|  |       bucket_url: | ||||||
|  |         from_secret: cos_bucket_url | ||||||
|  |       source: release/ | ||||||
|  |       target: product/gitcz | ||||||
|  |       strip_prefix: release/ | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| # gitcz | # gitcz | ||||||
| Golang版本Git Commitizen,commit规范工具 | Golang版本Git Commitizen,commit规范工具 | ||||||
| # 快速安装 | # 快速安装 | ||||||
| go get -u github.com/xiaoqidun/gitcz | go install github.com/xiaoqidun/gitcz@latest | ||||||
| # 编译安装 | # 编译安装 | ||||||
| ``` | ``` | ||||||
| git clone https://github.com/xiaoqidun/gitcz.git | git clone https://github.com/xiaoqidun/gitcz.git | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user