Merge branch 'fix-nix' into dev

This commit is contained in:
Owen
2026-04-22 11:31:58 -07:00
2 changed files with 15 additions and 1 deletions

View File

@@ -110,6 +110,15 @@ jobs:
exit 1
fi
- name: Update version in flake.nix
shell: bash
env:
VERSION: ${{ inputs.version }}
run: |
set -euo pipefail
sed -i "s/version = \"[0-9]*\.[0-9]*\.[0-9]*\(-rc\.[0-9]*\)\?\"/version = \"$VERSION\"/" flake.nix
echo "Updated flake.nix version to $VERSION"
- name: Create and push tag
shell: bash
env:
@@ -127,6 +136,11 @@ jobs:
echo "Tag $VERSION already exists" >&2
exit 1
fi
if ! git diff --quiet flake.nix; then
git add flake.nix
git commit -m "chore(nix): update version to $VERSION"
git push origin "$TARGET_BRANCH"
fi
git tag -a "$VERSION" -m "Release $VERSION"
git push origin "refs/tags/$VERSION"

View File

@@ -25,7 +25,7 @@
inherit (pkgs) lib;
# Update version when releasing
version = "1.8.0";
version = "1.11.0";
in
{
default = self.packages.${system}.pangolin-newt;