mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-30 16:55:25 +01:00 
			
		
		
		
	build: optimize compression method and clean up environment variables (#552)
- Replace tar command with xz command for compression - Remove redundant environment variable XZ_OPT ref: https://gitea.com/gitea/homebrew-gitea/pulls/164 Signed-off-by: appleboy <appleboy.tw@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/552 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io> Co-authored-by: appleboy <appleboy.tw@gmail.com> Co-committed-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
		| @@ -71,10 +71,8 @@ builds: | |||||||
|   no_unique_dist_dir: true |   no_unique_dist_dir: true | ||||||
|   hooks: |   hooks: | ||||||
|     post: |     post: | ||||||
|       - cmd: tar -cJf {{ .Path }}.xz {{ .Path }} |       - cmd: xz -k -9 {{ .Path }} | ||||||
|         dir: ./dist/ |         dir: ./dist/ | ||||||
|         env: |  | ||||||
|           - XZ_OPT=-9 |  | ||||||
|       - cmd: sh .goreleaser.checksum.sh {{ .Path }} |       - cmd: sh .goreleaser.checksum.sh {{ .Path }} | ||||||
|       - cmd: sh .goreleaser.checksum.sh {{ .Path }}.xz |       - cmd: sh .goreleaser.checksum.sh {{ .Path }}.xz | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 appleboy
					appleboy