Skip to content

Commit

Permalink
fix: run version
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre818181 committed Jan 4, 2025
1 parent e965f83 commit d0b7b2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit d0b7b2f

Please sign in to comment.