Skip to content

Commit 3dc1f2f

Browse files
committed
Drone: Fixing second version extraction
1 parent ec88854 commit 3dc1f2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ steps:
8989
- |
9090
if [ "$JTYPE" = "cms" ]; then
9191
export MINORVERSION=${JVERSION%.*}
92-
export MAJORVERSION=${MINORVERSION%.*}
92+
export MAJORVERSION=${JVERSION:0:1}
9393
phpdoc -d "./repos/joomla-cms/libraries/src" -t "./build/cms-$MAJORVERSION/" --cache-folder "/tmp/phpdocumentor-cache" --template "./" --title "Joomla! CMS $MINORVERSION.x API" --defaultpackagename "Joomla CMS" --setting=graphs.enabled=false --setting=guides.enabled=true
9494
fi
9595
@@ -132,6 +132,6 @@ trigger:
132132

133133
---
134134
kind: signature
135-
hmac: a858431e521b9714df1a8a2ae81762abe078d671ada7df2c5859ed3d85c69017
135+
hmac: 26273869977772c2008f38b43860f3c5fa5a0a9705e23c9d24fc799d400c4697
136136

137137
...

0 commit comments

Comments
 (0)