ultralytics-actions 0.0.41__tar.gz → 0.0.42__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/PKG-INFO +1 -1
  2. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/__init__.py +1 -1
  3. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/summarize_release.py +1 -6
  4. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/ultralytics_actions.egg-info/PKG-INFO +1 -1
  5. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/LICENSE +0 -0
  6. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/README.md +0 -0
  7. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/first_interaction.py +0 -0
  8. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/summarize_pr.py +0 -0
  9. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/update_markdown_code_blocks.py +0 -0
  10. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/utils/__init__.py +0 -0
  11. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/utils/common_utils.py +0 -0
  12. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/utils/github_utils.py +0 -0
  13. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/actions/utils/openai_utils.py +0 -0
  14. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/pyproject.toml +0 -0
  15. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/setup.cfg +0 -0
  16. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/tests/test_urls.py +0 -0
  17. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/ultralytics_actions.egg-info/SOURCES.txt +0 -0
  18. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/ultralytics_actions.egg-info/dependency_links.txt +0 -0
  19. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/ultralytics_actions.egg-info/entry_points.txt +0 -0
  20. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/ultralytics_actions.egg-info/requires.txt +0 -0
  21. {ultralytics_actions-0.0.41 → ultralytics_actions-0.0.42}/ultralytics_actions.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ultralytics-actions
3
- Version: 0.0.41
3
+ Version: 0.0.42
4
4
  Summary: Ultralytics Actions for GitHub automation and PR management.
5
5
  Author-email: Glenn Jocher <glenn.jocher@ultralytics.com>
6
6
  Maintainer-email: Ultralytics <hello@ultralytics.com>
@@ -22,4 +22,4 @@
22
22
  # ├── test_summarize_pr.py
23
23
  # └── ...
24
24
 
25
- __version__ = "0.0.41"
25
+ __version__ = "0.0.42"
@@ -17,7 +17,6 @@ from .utils import (
17
17
 
18
18
  # Environment variables
19
19
  CURRENT_TAG = os.getenv("CURRENT_TAG")
20
- PREVIOUS_TAG = os.getenv("PREVIOUS_TAG")
21
20
 
22
21
 
23
22
  def get_release_diff(repo_name: str, previous_tag: str, latest_tag: str, headers: dict) -> str:
@@ -165,11 +164,7 @@ def main(*args, **kwargs):
165
164
  raise ValueError("One or more required environment variables are missing.")
166
165
 
167
166
  # Get the diff between the tags
168
- previous_tag = (
169
- PREVIOUS_TAG
170
- if PREVIOUS_TAG and "none" not in PREVIOUS_TAG.lower() and PREVIOUS_TAG != CURRENT_TAG
171
- else get_previous_tag()
172
- )
167
+ previous_tag = get_previous_tag()
173
168
  diff = get_release_diff(action.repository, previous_tag, CURRENT_TAG, action.headers_diff)
174
169
 
175
170
  # Get PRs merged between the tags
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ultralytics-actions
3
- Version: 0.0.41
3
+ Version: 0.0.42
4
4
  Summary: Ultralytics Actions for GitHub automation and PR management.
5
5
  Author-email: Glenn Jocher <glenn.jocher@ultralytics.com>
6
6
  Maintainer-email: Ultralytics <hello@ultralytics.com>