Skip to content

Commit 8f0e535

Browse files
committed
build(ci): update Go module path for version embedding
Updates the Go build command to use 'telkomsel-bot/util.version' instead of 'main.version' for embedding the application version. This change reflects the correct module path for the version variable.
1 parent 5a84980 commit 8f0e535

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if [ "${{ matrix.goos }}" = "windows" ]; then
4444
EXT=".exe"
4545
fi
46-
go build -ldflags "-s -w -X main.version=${{ github.ref_name }}" -o build/telbot-${{ matrix.goos }}-${{ matrix.goarch }}$EXT .
46+
go build -ldflags "-s -w -X 'telkomsel-bot/util.version=${{ github.ref_name }}'" -o build/telbot-${{ matrix.goos }}-${{ matrix.goarch }}$EXT .
4747
4848
- name: Upload Artifact
4949
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)