From d0b7b2fd17bfcb1e2a77c54c1ffedf3f7956f9f8 Mon Sep 17 00:00:00 2001 From: pierre818181 Date: Fri, 3 Jan 2025 20:34:08 -0800 Subject: [PATCH] fix: run version --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c9139d1..17ad653 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,10 @@ jobs: cache: true - run: go build -ldflags="-X 'sls-local-server/main.Version=$(github.ref_name)'" -o sls-local-server main.go + name: Build + - run: echo $(github.ref_name) > version.txt + name: Set version file - name: Configure AWS credentials if: endsWith(github.ref_name, '-dev')