Skip to content

Commit a72e814

Browse files
committed
ensure we call bash on windows
1 parent 362cf03 commit a72e814

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252

5353
- name: Publish Binaries
5454
run: ./build.sh publishzip
55+
shell: bash
5556

5657
- name: Attach Distribution to release
5758
env:

build/Targets.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let private publish _ = printfn "publish"
3131
let private version _ =
3232
let version = Software.Version
3333
printfn $"Informational version: %s{version.AsString}"
34-
printfn $"Semantic version: %s{version.NormalizeToShorter()}"
34+
printfn $"Semantic version: %s{version.Normalize()}"
3535

3636
let private format _ = exec { run "dotnet" "format" "--verbosity" "quiet" }
3737

@@ -90,7 +90,7 @@ let private publishContainers _ =
9090
"/t:PublishContainer";
9191
"-p"; "DebugType=none";
9292
"-p"; $"ContainerBaseImage=mcr.microsoft.com/dotnet/nightly/runtime-deps:8.0-%s{imageTag}";
93-
"-p"; $"ContainerImageTags=\"%s{labels};%s{Software.Version.NormalizeToShorter()}\""
93+
"-p"; $"ContainerImageTags=\"%s{labels};%s{Software.Version.Normalize()}\""
9494
"-p"; $"ContainerRepository=elastic/%s{project}"
9595
]
9696
let registry =

0 commit comments

Comments
 (0)