From f15cbf49482654018f90ca2a398394bb7d6ba764 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Thu, 23 May 2024 17:19:08 +0000 Subject: [PATCH] build: fix output binary name The current name can be confused with project-stacker/stacker-bom project. Signed-off-by: Ramkumar Chinchani --- .github/workflows/ci.yaml | 8 ++++---- Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5f4e0523..d84ecf89 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ["1.20"] + go-version: ["1.22"] os: ["linux"] arch: ["amd64"] steps: @@ -38,14 +38,14 @@ jobs: - uses: actions/cache/save@v3 if: always() with: - file: bin/stacker-bom-* + file: bin/bom-* key: ${{ github.sha }} release: if: github.event_name == 'release' && github.event.action== 'published' runs-on: ubuntu-latest strategy: matrix: - go-version: ["1.20"] + go-version: ["1.22"] os: ["linux"] arch: ["amd64"] steps: @@ -66,7 +66,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: bin/stacker-bom-* + file: bin/bom-* tag: ${{ github.ref }} overwrite: true file_glob: true diff --git a/Makefile b/Makefile index b87c8544..15841720 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ OS ?= linux ARCH ?= amd64 BINDIR := bin -BINARY := stacker-bom-${OS}-${ARCH} +BINARY := bom-${OS}-${ARCH} .PHONY: binary binary: