mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
pulls commit from github context for ldflags
This commit is contained in:
parent
e1925a9f90
commit
e7d32f00e2
1 changed files with 2 additions and 4 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -21,11 +21,9 @@ jobs:
|
|||
- 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="
|
||||
run: echo "tag=v${{ steps.version.outputs.version }}-community" >> $GITHUB_OUTPUT
|
||||
- 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
|
||||
run: echo "ldflags=-X github.com/featurebasedb/featurebase/v3.Version=${{ steps.tag.outputs.tag }} -X github.com/featurebasedb/featurebase/v3.Commit=${{ github.sha }}" >> $GITHUB_OUTPUT
|
||||
|
||||
test-meta:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue