Skip to content

Commit 632bd1b

Browse files
committed
run-tests workflow: fix 'Build scaffold job'
1 parent eeeeb76 commit 632bd1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/run-tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ jobs:
5858

5959
- name: Build scaffold
6060
run: |
61-
repository=github.com/${{ github.repository }}
62-
version=$(TZ=UTC git --no-pager show --quiet --abbrev=12 --date='format-local:%Y%m%d%H%M%S' --format="v0.0.0-%cd-%h")
63-
go build -o bin/scaffold -ldflags "-X \"main.version=$repository $version\"" ./scaffold
61+
go build -o bin/scaffold -ldflags "-X \"main.version=$(pwd)\"" ./scaffold
6462
echo "Running 'scaffold --version' ..."
6563
bin/scaffold --version
6664

0 commit comments

Comments
 (0)