There was an error while loading. Please reload this page.
1 parent a912f75 commit 68832cdCopy full SHA for 68832cd
1 file changed
.github/workflows/release.yml
@@ -32,10 +32,15 @@ jobs:
32
- name: Run smart release
33
run: |-
34
PUBLISHABLE_CRATES=$(python3 scripts/publishable.py)
35
+ ANY_PUBLISHED=0
36
for crate in $PUBLISHABLE_CRATES; do
37
echo "Publishing $crate"
- cargo smart-release $crate --no-changelog-preview --allow-fully-generated-changelogs --update-crates-index --execute || exit 1
38
+ cargo smart-release $crate --no-changelog-preview --allow-fully-generated-changelogs --update-crates-index --execute && ANY_PUBLISHED=1
39
done
40
+ if [ $ANY_PUBLISHED -eq 0 ]; then
41
+ echo "No crates were published."
42
+ exit 1
43
+ fi
44
- name: Find Cargo version of fontspector crate
45
id: find_version
46
0 commit comments