Skip to content

Commit c7bc825

Browse files
Slachaider-chat-bot
andcommitted
feat: use dynamic version from GitHub ref in build
Co-authored-by: aider (openrouter/tngtech/deepseek-r1t2-chimera:free) <aider@aider.chat>
1 parent ede055a commit c7bc825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-altinity-mcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
mkdir -p build/linux/${{ matrix.platform }}
7070
CGO_ENABLED=0 GOOS=linux GOARCH=${{ matrix.platform }} go build \
71-
-ldflags "-X main.version=main -X main.commit=${{ github.sha }} -X main.date=$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \
71+
-ldflags "-X main.version=${{ github.ref_name }} -X main.commit=${{ github.sha }} -X main.date=$(date -u '+%Y-%m-%dT%H:%M:%SZ')" \
7272
-o build/linux/${{ matrix.platform }}/altinity-mcp ./cmd/altinity-mcp
7373
7474
- name: Set up QEMU

0 commit comments

Comments
 (0)