Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
e2a4a46e
Unverified
Commit
e2a4a46e
authored
Jun 27, 2024
by
Sayak Paul
Committed by
GitHub
Jun 27, 2024
Browse files
[Release notification] add some info when there is an error. (#8718)
add some info when there is an error.
parent
eda560d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
utils/notify_slack_about_release.py
utils/notify_slack_about_release.py
+1
-0
No files found.
utils/notify_slack_about_release.py
View file @
e2a4a46e
...
@@ -73,6 +73,7 @@ def main():
...
@@ -73,6 +73,7 @@ def main():
if
latest_version
and
release_info
and
latest_version
==
parsed_version
:
if
latest_version
and
release_info
and
latest_version
==
parsed_version
:
notify_slack
(
SLACK_WEBHOOK_URL
,
LIBRARY_NAME
,
latest_version
,
release_info
)
notify_slack
(
SLACK_WEBHOOK_URL
,
LIBRARY_NAME
,
latest_version
,
release_info
)
else
:
else
:
print
(
f
"
{
latest_version
=
}
,
{
release_info
=
}
,
{
parsed_version
=
}
"
)
raise
ValueError
(
"There were some problems."
)
raise
ValueError
(
"There were some problems."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment