Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build+test+deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:

steps:
- uses: actions/checkout@v4

with:
# we need fetch-depth: 0 because we use the `git describe` command in build.fsx
fetch-depth: 0

- name: Restore tools
run: dotnet tool restore
- name: Build
Expand Down
1 change: 1 addition & 0 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ Target.create "Push" (fun _ ->
| None ->
failwith "GITHUB_SHA should have been populated"
| Some commitHash ->
// NOTE: for this to work, github workflow needs to have `fetch-depth: 0` in its checkout action
let gitArgs = $"describe --exact-match --tags %s{commitHash}"
let proc =
CreateProcess.fromRawCommandLine "git" gitArgs
Expand Down
Loading