From 0c1416ba69b6e4db9028b922fbaef4fddec6db3d Mon Sep 17 00:00:00 2001 From: semihalev Date: Sun, 30 Apr 2023 12:54:24 +0300 Subject: [PATCH] goreleaser fix and bump version to 1.2.3 --- .github/workflows/goreleaser.yml | 4 ++-- .goreleaser.yml | 4 ++-- sdns.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index c8ec5ce9..76bd63eb 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -18,12 +18,12 @@ jobs: name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ^1.13 + go-version: ^1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4.2.0 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_API_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index a82c4b98..f4d951e9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -86,9 +86,9 @@ nfpms: maintainer: Yasar Alev license: MIT bindir: /usr/bin - empty_folders: - - /var/lib/sdns contents: + - dst: /var/lib/sdns + type: dir - src: "./contrib/linux/sdns.service" dst: "/lib/systemd/system/sdns.service" - src: "./contrib/linux/sdns.conf" diff --git a/sdns.go b/sdns.go index 8136b474..d419a8f5 100644 --- a/sdns.go +++ b/sdns.go @@ -16,7 +16,7 @@ import ( "github.com/semihalev/sdns/server" ) -const version = "1.2.2" +const version = "1.2.3" var ( flagcfgpath = flag.String("config", "sdns.conf", "location of the config file, if config file not found, a config will generate")