Skip to content

Commit e6699d2

Browse files
authored
fix: fix CI calling script/version.sh instead of scripts (#3839)
1 parent 8c70b6c commit e6699d2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/coder.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ jobs:
501501
set -euo pipefail
502502
go mod download
503503
504-
version="$(./script/version.sh)"
504+
version="$(./scripts/version.sh)"
505505
make -j \
506506
build/coder_"$version"_windows_amd64.zip \
507507
build/coder_"$version"_linux_amd64.{tar.gz,deb}

.github/workflows/release.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
set -euo pipefail
7777
go mod download
7878
79-
version="$(./script/version.sh)"
79+
version="$(./scripts/version.sh)"
8080
make -j \
8181
build/coder_"$version"_linux_{amd64,armv7,arm64}.{tar.gz,apk,deb,rpm} \
8282
build/coder_"$version"_windows_{amd64,arm64}.zip \
@@ -86,7 +86,7 @@ jobs:
8686
set -euxo pipefail
8787
8888
# build and (maybe) push Docker images for each architecture
89-
version="$(./script/version.sh)"
89+
version="$(./scripts/version.sh)"
9090
push=""
9191
if [[ "$CODER_RELEASE" == *t* ]]; then
9292
push="push/"
@@ -194,7 +194,7 @@ jobs:
194194
set -euo pipefail
195195
go mod download
196196
197-
version="$(./script/version.sh)"
197+
version="$(./scripts/version.sh)"
198198
make -j \
199199
build/coder_"$version"_darwin_{amd64,arm64}.zip
200200
env:
@@ -249,7 +249,7 @@ jobs:
249249
run: |
250250
set -euxo pipefail
251251
252-
version="$(./script/version.sh)"
252+
version="$(./scripts/version.sh)"
253253
make -j \
254254
build/coder_helm_"$version".tgz
255255
mv ./build/*.tgz ./artifacts/

0 commit comments

Comments
 (0)