Skip to content

Commit f6d445d

Browse files
committed
ci: add version to built binaries (ocaml#10537)
Signed-off-by: Etienne Millon <[email protected]>
1 parent 04fdc9c commit f6d445d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/binaries.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
runs-on: ${{ matrix.os }}
2626
steps:
2727
- uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0 # for git describe
2830
- uses: cachix/install-nix-action@v22
31+
- run: echo "(version $(git describe --always --dirty --abbrev=7))" >> dune-project
2932
- run: nix build ${{ matrix.installable }}
3033
- uses: actions/upload-artifact@v4
3134
with:

0 commit comments

Comments
 (0)