From b4084b9dcfd079b242dd3ed59fcbd3b0cad963db Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sat, 6 Dec 2025 15:23:43 +0100 Subject: [PATCH] Fix NixOS config path in release workflow --- .gitea/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c8abe88..3db2200 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -107,13 +107,13 @@ jobs: NIX_HASH="sha256-$(python3 -c "import base64, binascii; print(base64.b64encode(binascii.unhexlify('$NEW_HASH')).decode())")" # Update the NixOS configuration - sed -i "s|version = \"v[^\"]*\"|version = \"$VERSION\"|" hosts/services/cm-player.nix - sed -i "s|sha256 = \"sha256-[^\"]*\"|sha256 = \"$NIX_HASH\"|" hosts/services/cm-player.nix + sed -i "s|version = \"v[^\"]*\"|version = \"$VERSION\"|" hosts/common/cm-player.nix + sed -i "s|sha256 = \"sha256-[^\"]*\"|sha256 = \"$NIX_HASH\"|" hosts/common/cm-player.nix # Commit and push changes git config user.name "Gitea Actions" git config user.email "actions@gitea.cmtec.se" - git add hosts/services/cm-player.nix + git add hosts/common/cm-player.nix git commit -m "Auto-update cm-player to $VERSION - Update version to $VERSION with automated release