File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ jobs:
126126 needs : update-trunk
127127
128128 steps :
129- - name : Install SVN # <--- This is the added fix
129+ - name : Install SVN
130130 run : |
131131 sudo apt-get update
132132 sudo apt-get install -y subversion
@@ -142,8 +142,11 @@ jobs:
142142 svn update "$SVN_DIR/trunk" --set-depth infinity
143143
144144 echo "Tagging version ${VERSION}..."
145- svn copy "$SVN_DIR/trunk" "$SVN_DIR/tags/${VERSION}" \
146- -m "Tagging version ${VERSION}" \
145+ svn copy "$SVN_DIR/trunk" "$SVN_DIR/tags/${VERSION}"
146+
147+ # Only use -m with svn commit, NOT with svn copy
148+ svn commit -m "Tagging version ${VERSION}" \
149+ "$SVN_DIR/tags/${VERSION}" \
147150 --username "${SVN_USERNAME}" \
148151 --password "${SVN_PASSWORD}" \
149152 --non-interactive
You can’t perform that action at this time.
0 commit comments