Skip to content

Commit 61a87d5

Browse files
committed
fix: reference correct package during build
1 parent e70f4e6 commit 61a87d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
run: |
2828
echo "Building for ${{ matrix.goarch }}"
2929
GOOS=linux GOARCH=${{ matrix.goarch }} go build \
30-
-ldflags "-X github.com/dhtech/observer/main.Version=${{ github.ref_name }}" \
30+
-ldflags "-X main.Version=${{ github.ref_name }}" \
3131
-o observer-${{ matrix.goarch }} .

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
echo "Building for ${{ matrix.goarch }}"
2626
GOOS=linux GOARCH=${{ matrix.goarch }} go build \
27-
-ldflags "-X github.com/dhtech/observer/main.Version=${{ github.ref_name }}" \
27+
-ldflags "-X main.Version=${{ github.ref_name }}" \
2828
-o observer-${{ matrix.goarch }} .
2929
3030
- name: Package artifacts

0 commit comments

Comments
 (0)