From 74b2f380817dd489bee1a1b8358671a8630bb122 Mon Sep 17 00:00:00 2001 From: matsuuram Date: Sat, 2 Dec 2023 03:23:54 +0900 Subject: [PATCH] fix goreleaser.yml --- .goreleaser.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b6d8c11..891cce1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,13 +1,7 @@ -# This is an example .goreleaser.yml file with some sensible defaults. -# Make sure to check the documentation at https://goreleaser.com - -# The lines below are called `modelines`. See `:help modeline` -# Feel free to remove those if you don't want/need to use them. -# yaml-language-server: $schema=https://goreleaser.com/static/schema.json -# vim: set ts=2 sw=2 tw=0 fo=cnqoj - version: 1 +project_name: mpeg-ts-analyzer + before: hooks: # You may remove this if you don't use go modules. @@ -26,7 +20,7 @@ builds: - -trimpath ldflags: - -s -w - - -X main.version={{.Version}} + - -X github.com/small-teton/mpeg-ts-analyzer/cmd.version={{.Version}} archives: - format: tar.gz