Merge pull request #7 from logos-blockchain/erhant/fix-version-and-ignore-lgx

fix: version now reads from metadata instead of defaulting to `dev`
This commit is contained in:
erhant 2026-06-17 15:22:32 +03:00 committed by GitHub
commit 2c02b9893b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -8,6 +8,9 @@ build/
target/
result
# Nix .lgx module bundle outputs
lez-indexer-module-lgx-*
# Node
resources/

View File

@ -47,7 +47,7 @@
lezIndexerModulePackage = pkgs.stdenv.mkDerivation {
pname = "lez-indexer-module";
version = "dev";
version = (lib.importJSON ./metadata.json).version;
src = ./.;
nativeBuildInputs = [