Skip to content

Commit cae3b02

Browse files
authored
Changing version extraction for deployment
1 parent f7ce937 commit cae3b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ steps:
113113
- |
114114
if [ "$JTYPE" = "cms" ]; then
115115
export MINORVERSION=${JVERSION%.*}
116-
export MAJORVERSION=${MINORVERSION%.*}
116+
export MAJORVERSION=${JVERSION:0:1}
117117
rclone sync ./build/cms-$MAJORVERSION/ api:/home/api/public_html/cms-$MAJORVERSION/ -v
118118
fi
119119
- /bin/notify

0 commit comments

Comments
 (0)