diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b1bc6ea0..46a3bcc6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,7 +33,10 @@ jobs: with: go-version: "1.19" - name: Build - run: go build -o stories ./cmd/stories/main.go + run: > + go build + -ldflags "-X github.com/cfoust/cy/pkg/version.Version=\"readme\"" + -o stories ./cmd/stories/main.go - uses: charmbracelet/vhs-action@v1 with: path: "ci/cy.tape"