File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 22
22
- name : Export latest dae version
23
23
run : |
24
24
NEW_VERSION=`curl -s https://api.github.com/repos/daeuniverse/dae/releases/latest | jq -r '.tag_name' | sed 's/v//g'`
25
+ if [ -z "$NEW_VERSION" ] || [ "$NEW_VERSION" = "null" ] ; then
26
+ echo "NEW_VERSION is empty, stopping the workflow"
27
+ exit 1
28
+ fi
25
29
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
26
30
27
31
- name : Run rpmdev-bumpspec action
Original file line number Diff line number Diff line change 22
22
- name : Export latest daed version
23
23
run : |
24
24
NEW_VERSION=`curl -s https://api.github.com/repos/daeuniverse/daed/releases/latest | jq -r '.tag_name' | sed 's/v//g'`
25
+ if [ -z "$NEW_VERSION" ] || [ "$NEW_VERSION" = "null" ] ; then
26
+ echo "NEW_VERSION is empty, stopping the workflow"
27
+ exit 1
28
+ fi
25
29
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
26
30
27
31
- name : Run rpmdev-bumpspec action
You can’t perform that action at this time.
0 commit comments