getworktree 0.1.1__tar.gz → 0.1.1.dev3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: getworktree
3
- Version: 0.1.1
3
+ Version: 0.1.1.dev3
4
4
  Summary: Isolated git worktree developer loops and AI agent workspaces.
5
5
  Home-page: https://github.com
6
6
  Author: Worktree Team
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: getworktree
3
- Version: 0.1.1
3
+ Version: 0.1.1.dev3
4
4
  Summary: Isolated git worktree developer loops and AI agent workspaces.
5
5
  Home-page: https://github.com
6
6
  Author: Worktree Team
@@ -7,9 +7,19 @@ theme_dir = os.path.abspath(os.path.dirname(__file__))
7
7
  with open(os.path.join(theme_dir, "README.md"), encoding="utf-8") as f:
8
8
  long_description = f.read()
9
9
 
10
+ # Base stable version
11
+ BASE_VERSION = "0.1.1"
12
+
13
+ # Check if running inside GitHub Actions and processing a dev build
14
+ if os.environ.get("WORKTREE_DEV_BUILD") == "true":
15
+ run_number = os.environ.get("GITHUB_RUN_NUMBER", "0")
16
+ VERSION = f"{BASE_VERSION}.dev{run_number}"
17
+ else:
18
+ VERSION = BASE_VERSION
19
+
10
20
  setup(
11
21
  name="getworktree",
12
- version="0.1.1",
22
+ version=VERSION,
13
23
  author="Worktree Team",
14
24
  author_email="hello@getworktree.io",
15
25
  description="Isolated git worktree developer loops and AI agent workspaces.",
File without changes
File without changes
File without changes