From 5f6ef525051d5fcc48268bbaa3e89541ea50990e Mon Sep 17 00:00:00 2001 From: Jan Gottschick Date: Fri, 3 May 2024 08:40:34 +0200 Subject: [PATCH] * added sbom and upx --- .github/workflows/releaser.yml | 1 + .goreleaser.yaml | 8 +++++++- core/version | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 95996ec..f1876eb 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -26,6 +26,7 @@ jobs: run: | go install golang.org/x/tools/cmd/goimports@latest go install github.com/a-h/templ/cmd/templ@latest + sudo apt-get install -y upx - name: Templ run: templ generate web/pages/*.templ - uses: goreleaser/goreleaser-action@v5 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3797f78..82a5ff0 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -12,6 +12,9 @@ builds: - windows - darwin +upx: + - enabled: true + archives: - format: tar.gz name_template: >- @@ -30,4 +33,7 @@ changelog: filters: exclude: - '^docs:' - - '^test:' \ No newline at end of file + - '^test:' + +sboms: + - artifacts: archive \ No newline at end of file diff --git a/core/version b/core/version index 7dff5b8..f477849 100644 --- a/core/version +++ b/core/version @@ -1 +1 @@ -0.2.1 \ No newline at end of file +0.2.2 \ No newline at end of file