File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,6 @@ workflows:
193
193
requires :
194
194
- job_test_php56_min
195
195
- job_test_php56
196
- - job_test_php56_min
197
196
- job_test_php70
198
197
- job_test_php71
199
198
- job_test_php72
@@ -203,4 +202,4 @@ workflows:
203
202
branches :
204
203
ignore : /.*/
205
204
tags :
206
- only : /^(\d+)\.(\d+)(\.\d+)?$/
205
+ only : /^(v)?( \d+)\.(\d+)(\.\d+)?$/
Original file line number Diff line number Diff line change 29
29
30
30
SVN_DIR=" /tmp/artifacts"
31
31
PROJECT_DIR=$( pwd)
32
+ RELEASE_TAG=$( echo $CIRCLE_TAG | sed ' s/[^0-9\.]*//g' )
32
33
33
- echo " Preparing for version $CIRCLE_TAG release..."
34
+ echo " Preparing for version $RELEASE_TAG release..."
34
35
35
36
# Checkout just trunk and assets for efficiency.
36
37
# Tagging will be handled on the SVN level.
@@ -62,11 +63,11 @@ svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@ > /dev/null
62
63
63
64
# Copy trunk into the current tag directory.
64
65
echo " Copying tag..."
65
- svn cp " trunk" " tags/$CIRCLE_TAG "
66
+ svn cp " trunk" " tags/$RELEASE_TAG "
66
67
67
68
svn status
68
69
69
70
echo " Committing files..."
70
- svn commit -m " Release version $CIRCLE_TAG ." --no-auth-cache --non-interactive --username " $SVN_USERNAME " --password " $SVN_PASSWORD "
71
+ svn commit -m " Release version $RELEASE_TAG ." --no-auth-cache --non-interactive --username " $SVN_USERNAME " --password " $SVN_PASSWORD "
71
72
72
- echo " Plugin version $CIRCLE_TAG deployed."
73
+ echo " Plugin version $RELEASE_TAG deployed."
You can’t perform that action at this time.
0 commit comments