We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ccb5ba commit 1797665Copy full SHA for 1797665
cppython/project.py
@@ -98,5 +98,14 @@ def publish(self) -> None:
98
Raises:
99
Exception: Provider-specific exception
100
"""
101
+ if not self._enabled:
102
+ self.logger.info('Skipping publish because the project is not enabled')
103
+ return
104
+
105
+ self.logger.info('Publishing project')
106
107
+ # Ensure sync is performed before publishing to generate necessary files
108
+ self._data.sync()
109
110
# Let provider handle its own exceptions for better error context
111
self._data.plugins.provider.publish()
0 commit comments