Skip to content

Commit

Permalink
Update a workflow file for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
matsuo committed Aug 31, 2024
1 parent b208e33 commit 19bfd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- run: go test

- shell: bash
run: echo "fmcsadmin_version=2.2.1-dev" >> "$GITHUB_ENV"
run: cat Makefile | grep "^VERSION=" | sed -e "s/VERSION/fmcsadmin_version/g" >> "$GITHUB_ENV"

- run: go build -ldflags "-X main.version=${{ env.fmcsadmin_version }}" fmcsadmin.go

Expand Down

0 comments on commit 19bfd3a

Please sign in to comment.