This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to tag v0.1.0-2408011322.dev
in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git

commit f42dea95e7b63ffa012a771ccf0ae77ffcfb8406
Author: Michele Sciabarra <[email protected]>
AuthorDate: Thu Aug 1 13:22:45 2024 +0200

    updated goreleaser
---
 .goreleaser.yaml | 14 +++++++++++---
 Taskfile.yml     |  2 +-
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index f0ff055..30bd869 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -11,17 +11,25 @@ version: 2
 before:
   hooks:
     # You may remove this if you don't use go modules.
-    - go mod tidy
+    #- go mod tidy
     # you may remove this if you don't need go generate
-    - go generate ./...
+    #- go generate ./...
 
 builds:
-  - env:
+  - main: ./cmd/ops
+    binary: ops
+    env:
       - CGO_ENABLED=0
     goos:
       - linux
       - windows
       - darwin
+    goarch:
+      - amd64
+      - arm64
+    ignore:
+      - goos: windows
+        goarch: arm64
 
 archives:
   - format: tar.gz
diff --git a/Taskfile.yml b/Taskfile.yml
index e1c9450..8d86525 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -43,7 +43,7 @@ tasks:
     desc: tag commit and push triggering a build
     prompt: are you sure you want to tag the work and push it triggering a 
build
     cmds:
-    - task: cli-tag
+    - task: tag
     - git commit -m "$(cat version.txt)"
     - git push --tags
 

Reply via email to