From 61baf479ebce19eddde1c4d80721905fa450f118 Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Tue, 1 Nov 2022 12:10:05 -0400 Subject: [PATCH] outputs ldgflags --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a0e9cac1..60288e4ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,14 @@ jobs: with: fetch-depth: 0 - run: echo $(git describe --tags) - # - run: .github/workflows/version.sh - id: version run: echo "version=$(.github/workflows/version.sh)" >> $GITHUB_OUTPUT - id: tag run: echo "tag=v${{ steps.version.outputs.version}}-community" >> $GITHUB_OUTPUT + - id: commit + run: echo "commit=" + - id: ldflags + run: echo "ldflags=-X github.com/featurebasedb/featurebase/v3.Version=${{steps.tag.output.tag}} -X github.com/featurebasedb/featurebase/v3.Commit=${{steps.commit.outputs.commit}}" >> $GITHUB_OUTPUT test-meta: runs-on: ubuntu-latest @@ -29,6 +32,7 @@ jobs: steps: - run: echo "version ${{needs.meta.outputs.version}}" - run: echo "tag ${{needs.meta.outputs.tag}}" + - run: echo "ldflags ${{needs.meta.outputs.ldflags}}" build-lattice: runs-on: ubuntu-latest