From 1c207390cc617b552dcd879140ebbbc1f8ef5ccf Mon Sep 17 00:00:00 2001 From: kekskurse Date: Mon, 24 Jul 2023 13:24:59 +0200 Subject: [PATCH] feat: add commit validator --- .forgejo/workflows/.goreleaser.yml | 35 ++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 36 insertions(+) create mode 100644 .forgejo/workflows/.goreleaser.yml create mode 100644 .gitignore diff --git a/.forgejo/workflows/.goreleaser.yml b/.forgejo/workflows/.goreleaser.yml new file mode 100644 index 0000000..ed6f4e0 --- /dev/null +++ b/.forgejo/workflows/.goreleaser.yml @@ -0,0 +1,35 @@ +# This is an example .goreleaser.yml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + # You may remove this if you don't use go modules. + - go mod tidy + # you may remove this if you don't need go generate + - go generate ./... +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + #- windows + - darwin + goarch: + - amd64 + - arm64 + ldflags: + - -X main.version={{ .Version }} +checksum: + name_template: 'checksums.txt' +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' + - '^dev:' + - +gitea_urls: + api: https://git.keks.cloud/api/v1/ + download: https://git.keks.cloud + # set to true if you use a self-signed certificate + skip_tls_verify: false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file