File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 47
47
# Drafts your next Release notes as Pull Requests are merged into "master"
48
48
- uses : release-drafter/release-drafter@v6
49
49
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
50
- # with:
50
+ with :
51
+ commitish : master
51
52
# config-name: my-config.yml
52
53
# disable-autolabeler: true
53
54
env :
Original file line number Diff line number Diff line change @@ -37,17 +37,18 @@ shopt -s nullglob
37
37
38
38
for path in " ${paths[@]} " ; do
39
39
for command in " ${path} /goenv-" * ; do
40
- command=" ${command##* goenv-} "
40
+ [ -x " $command " ] || continue
41
+ command=" ${command##*/ goenv-} "
41
42
if [ -n " $sh " ]; then
42
- if [ ${command: 0: 3} = " sh-" ]; then
43
- echo ${command## sh-}
43
+ if [ ${command: 0: 3} == " sh-" ]; then
44
+ echo " ${command## sh-} "
44
45
fi
45
46
elif [ -n " $nosh " ]; then
46
47
if [ ${command: 0: 3} != " sh-" ]; then
47
- echo ${command## sh-}
48
+ echo " ${command## sh-} "
48
49
fi
49
50
else
50
- echo ${command## sh-}
51
+ echo " ${command## sh-} "
51
52
fi
52
53
done
53
54
done
You can’t perform that action at this time.
0 commit comments