ultralytics-actions 0.0.41__py3-none-any.whl → 0.0.42__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
actions/__init__.py CHANGED
@@ -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>
@@ -1,15 +1,15 @@
1
- actions/__init__.py,sha256=Pjd9caY-pMv4WoWKvfJFD211p_wu6csWUZh5UmqshX0,742
1
+ actions/__init__.py,sha256=LYTjFuHiT83NJFXfvPMLR6AfN9CObsWT_DeWuYKN4OE,742
2
2
  actions/first_interaction.py,sha256=n88RWru6ZXttFgmBXVMUBJEXoC9UVIV_TOlOWAR2pO4,17846
3
3
  actions/summarize_pr.py,sha256=Pfcm6ArfZfcMme48FcCGNmMwrFFlsG0czifhXHDKAlY,11166
4
- actions/summarize_release.py,sha256=zbd0tD0-7eKjVsMZXNCVpZ0AQqgLxs6KIeP81XXFAtw,8702
4
+ actions/summarize_release.py,sha256=o_QerJOFcDxuAN71Ynw9Edx2smRTD9Sbk35uCDFWc68,8524
5
5
  actions/update_markdown_code_blocks.py,sha256=DN6rrDw2VHXUTetrrg1SHlYDco9iaGOfQBKFORqbCBI,6362
6
6
  actions/utils/__init__.py,sha256=Jc--odEZWBrQmgI9C9rPdKIJNj8YW-mCJV71VWQyMCA,434
7
7
  actions/utils/common_utils.py,sha256=-gYRI0KJqG7Ht4JPGUxCYpHRKFfuSGi1lPr__F-SGuw,4086
8
8
  actions/utils/github_utils.py,sha256=0h0Hz2tgUta61Ymn9YggRXBZ7aZdF5krKnX7Tj9jqRU,7068
9
9
  actions/utils/openai_utils.py,sha256=U7DjxTdFGdhmWSE4_KIg1yPQdtrfG4GkbNZCgMw4_1Q,1822
10
- ultralytics_actions-0.0.41.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
11
- ultralytics_actions-0.0.41.dist-info/METADATA,sha256=mZ7dSiUJ7NymQQKmXUFWsjEuxgN6VwboauKyWxgyOkI,10561
12
- ultralytics_actions-0.0.41.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
13
- ultralytics_actions-0.0.41.dist-info/entry_points.txt,sha256=GowvOFplj0C7JmsjbKcbpgLpdf2r921pcaOQkAHWZRA,378
14
- ultralytics_actions-0.0.41.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
15
- ultralytics_actions-0.0.41.dist-info/RECORD,,
10
+ ultralytics_actions-0.0.42.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
11
+ ultralytics_actions-0.0.42.dist-info/METADATA,sha256=gd1rmrslO-Y_taZYu4sLdQnDptIWVHkAO57O5XTUxIc,10561
12
+ ultralytics_actions-0.0.42.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
13
+ ultralytics_actions-0.0.42.dist-info/entry_points.txt,sha256=GowvOFplj0C7JmsjbKcbpgLpdf2r921pcaOQkAHWZRA,378
14
+ ultralytics_actions-0.0.42.dist-info/top_level.txt,sha256=5apM5x80QlJcGbACn1v3fkmIuL1-XQCKcItJre7w7Tw,8
15
+ ultralytics_actions-0.0.42.dist-info/RECORD,,