forked from M-Labs/artiq
1
0
Fork 0

bump major version number

This commit is contained in:
Sebastien Bourdeauducq 2024-06-06 09:45:54 +08:00
parent 927bb3b6b4
commit ebc1e3fb76
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [ (import mozilla-overlay) ]; }; pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [ (import mozilla-overlay) ]; };
pkgs-aarch64 = import nixpkgs { system = "aarch64-linux"; }; pkgs-aarch64 = import nixpkgs { system = "aarch64-linux"; };
artiqVersionMajor = 8; artiqVersionMajor = 9;
artiqVersionMinor = self.sourceInfo.revCount or 0; artiqVersionMinor = self.sourceInfo.revCount or 0;
artiqVersionId = self.sourceInfo.shortRev or "unknown"; artiqVersionId = self.sourceInfo.shortRev or "unknown";
artiqVersion = (builtins.toString artiqVersionMajor) + "." + (builtins.toString artiqVersionMinor) + "+" + artiqVersionId + ".beta"; artiqVersion = (builtins.toString artiqVersionMajor) + "." + (builtins.toString artiqVersionMinor) + "+" + artiqVersionId + ".beta";

View File

@ -11,7 +11,7 @@ def get_rev():
""" """
def get_version(): def get_version():
return os.getenv("VERSIONEER_OVERRIDE", default="8.0+unknown.beta") return os.getenv("VERSIONEER_OVERRIDE", default="9.0+unknown.beta")
def get_rev(): def get_rev():
return os.getenv("VERSIONEER_REV", default="unknown") return os.getenv("VERSIONEER_REV", default="unknown")