This commit is contained in:
		
							
								
								
									
										10
									
								
								.drone.yaml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.drone.yaml
									
									
									
									
									
								
							@ -4,20 +4,20 @@ type: docker
 | 
				
			|||||||
name: Build and Release
 | 
					name: Build and Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: Test
 | 
					  - name: test
 | 
				
			||||||
    image: golang:1.21
 | 
					    image: golang:1.21
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
 | 
					      - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
 | 
				
			||||||
      - task test
 | 
					      - /bin/task test
 | 
				
			||||||
  - name: Build & Package
 | 
					  - name: build & package
 | 
				
			||||||
    image: golang:1.21
 | 
					    image: golang:1.21
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
 | 
					      - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
 | 
				
			||||||
      - task package
 | 
					      - /bin/task package
 | 
				
			||||||
    when:
 | 
					    when:
 | 
				
			||||||
      event:
 | 
					      event:
 | 
				
			||||||
        - tag
 | 
					        - tag
 | 
				
			||||||
  - name: Release
 | 
					  - name: release
 | 
				
			||||||
    image: plugins/gitea-release
 | 
					    image: plugins/gitea-release
 | 
				
			||||||
    settings:
 | 
					    settings:
 | 
				
			||||||
      base_url: https://gitea.layla.gg
 | 
					      base_url: https://gitea.layla.gg
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user