fix(ci-cd): Fix path

This commit is contained in:
Myzel394 2024-10-27 12:10:41 +01:00
parent 9d48d52509
commit 88b9a51e95
No known key found for this signature in database
GPG Key ID: ED20A1D1D423AF3F

View File

@ -29,7 +29,7 @@ jobs:
- name: Check version in code matches flake version - name: Check version in code matches flake version
shell: bash shell: bash
run: | run: |
if ! [ $(grep '// CI:CD-VERSION$' server/root-handler/handler.go | cut -d'"' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ]; if ! [ $(grep '// CI:CD-VERSION$' server/root-handler/common.go | cut -d'"' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
then then
echo "Version mismatch between code and flake" echo "Version mismatch between code and flake"
exit 1 exit 1