fix(ci-cd): Fix ci:cd

This commit is contained in:
Myzel394 2024-10-16 21:50:47 +02:00
parent 5795da36a8
commit 684e21bf74
No known key found for this signature in database
GPG Key ID: ED20A1D1D423AF3F

View File

@ -5,7 +5,7 @@ on:
types: [ published ]
jobs:
build-nightly:
build-release:
runs-on: ubuntu-latest
steps:
@ -15,7 +15,7 @@ jobs:
- name: Check git version matches flake version
shell: bash
run: |
if ! [ $(${{ github.ref }} | cut -d'v' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
if ! [ $(echo '${{ github.ref }}' | cut -d'v' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
then
echo "Version mismatch between Git and flake"
exit 1