tinybird-cli 5.5.1.dev2__py3-none-any.whl → 5.5.1.dev3__py3-none-any.whl

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.
tinybird/__cli__.py CHANGED
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
4
4
  __url__ = 'https://www.tinybird.co/docs/cli/introduction.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '5.5.1.dev2'
8
- __revision__ = '8114ba1'
7
+ __version__ = '5.5.1.dev3'
8
+ __revision__ = '13e87e0'
tinybird/datafile.py CHANGED
@@ -439,11 +439,15 @@ class CLIGitRelease:
439
439
  raise CLIGitReleaseException(
440
440
  FeedbackManager.error_commit_changes_to_release(path=self.path, git_output=self.status())
441
441
  )
442
- if not self.is_head_outdated(current_release["commit"]):
442
+ try:
443
+ if not self.is_head_outdated(current_release["commit"]):
444
+ if check_outdated:
445
+ raise CLIGitReleaseException(FeedbackManager.error_head_outdated(commit=self.head_commit()))
446
+ else:
447
+ click.echo(FeedbackManager.warning_head_outdated(commit=self.head_commit()))
448
+ except CLIGitReleaseException as e:
443
449
  if check_outdated:
444
- raise CLIGitReleaseException(FeedbackManager.error_head_outdated(commit=self.head_commit()))
445
- else:
446
- click.echo(FeedbackManager.warning_head_outdated(commit=self.head_commit()))
450
+ raise e
447
451
  if not self.is_new_release(current_release["commit"]) and check_new:
448
452
  raise CLIGitReleaseException(FeedbackManager.error_head_already_released(commit=current_release["commit"]))
449
453
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 5.5.1.dev2
3
+ Version: 5.5.1.dev3
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -51,6 +51,11 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
51
51
  Changelog
52
52
  ----------
53
53
 
54
+ 5.5.1.dev3
55
+ **********
56
+
57
+ - `Changed` Internal change
58
+
54
59
  5.5.1.dev2
55
60
  **********
56
61
 
@@ -1,10 +1,10 @@
1
- tinybird/__cli__.py,sha256=DBNvuT3nY5g89-NkQi2rKBzXKlg88e_suZe4rOXM6Fg,254
1
+ tinybird/__cli__.py,sha256=eo3XpY6srkC7--wEmUbzC4mWlxZglFMwUkuHgsO8lsY,254
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=X9WYDS8gf07w0vncMMO7eeZj7G1D4vJAv9_npf1Otak,48339
4
4
  tinybird/config.py,sha256=LTHiR5JeAhslZCq4WaIZRW973KQMcEEC7TfN-uyS3wU,5397
5
5
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
6
6
  tinybird/context.py,sha256=3KwB9TL-nON6qX9Mm5uev4CkrgLwYyNDvdFfQmNc0Cc,1171
7
- tinybird/datafile.py,sha256=LuWwwZucRxcoLbFuvdNG-NsgyXNpfitCiwhEqIKu_BM,219642
7
+ tinybird/datafile.py,sha256=VwWtzg1a1wEvOsUcc9efEqL7HormbHqewBONHwfG7do,219774
8
8
  tinybird/datatypes.py,sha256=wwXaEy3l_UyfsH9xzYqBENQR7MSrFnDSvgS_CzLucOQ,10462
9
9
  tinybird/feedback_manager.py,sha256=Cz5BtZ3UflJvuWQnueZSIOxzqqLBMoL4EB_H4tbpn-Y,64858
10
10
  tinybird/git_settings.py,sha256=vu8sWb3TAXeM8Tqy27aR0el8MnPm7kqQzTRV76xB0ro,4707
@@ -36,8 +36,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=pGFyLeKLXG8PaqvBVBy707ckwGRBkXlmvRqC
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=OeEypt5wtHrXBAV5AWtCl2UYuiG-9jgy-JDFUH4JphA,8612
37
37
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=0dYYmZMMJVubxSPls2e_a-fqtUYvgLfu2B0xwLfkbHw,11667
38
38
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
39
- tinybird_cli-5.5.1.dev2.dist-info/METADATA,sha256=4ly0IKSj1jJHC1eAuLep2EkLhjoqw_5IVZR2kAoJtME,75079
40
- tinybird_cli-5.5.1.dev2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-5.5.1.dev2.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-5.5.1.dev2.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
- tinybird_cli-5.5.1.dev2.dist-info/RECORD,,
39
+ tinybird_cli-5.5.1.dev3.dist-info/METADATA,sha256=uRJMbYNfkzsGQZ-Mlw3nSn1cHX0mBIkQfcBOWisDxZQ,75131
40
+ tinybird_cli-5.5.1.dev3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-5.5.1.dev3.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-5.5.1.dev3.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
+ tinybird_cli-5.5.1.dev3.dist-info/RECORD,,