diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 012175d..015a253 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,11 +24,6 @@ jobs: go-version: 1.21 id: go - - name: Release - uses: go-semantic-release/action@v1 - with: - github-token: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} - - name: Run GoReleaser uses: goreleaser/goreleaser-action@master with: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 0000000..7e90d3d --- /dev/null +++ b/.github/workflows/tag.yml @@ -0,0 +1,16 @@ +name: Tag + +on: + push: + branches: [ "master" ] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Release + uses: go-semantic-release/action@v1 + with: + github-token: ${{ secrets.TAG_TOKEN }} \ No newline at end of file diff --git a/go.sum b/go.sum index cdd7c5e..d9272dd 100644 --- a/go.sum +++ b/go.sum @@ -50,8 +50,6 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/csvwolf/ker.go v0.0.1 h1:Z6IbuAwsTA9GmTYADfNxGcaxq/I4vxWg6DSeF9LgKQc= -github.com/csvwolf/ker.go v0.0.1/go.mod h1:fkJeU3uqo6GXHj0hKVXJ2Xcn3+aysqfzopXnHqrGCpc= github.com/csvwolf/ker.go v1.0.0 h1:BQh9696GtLp6TeNHhazFOm8ZACin0QZXqAeoP3qsGB4= github.com/csvwolf/ker.go v1.0.0/go.mod h1:aFr6W7m5fpSs43MJzMkrDZQqTidj791MPnr5XaK9DnU= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -327,8 +325,7 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=