Skip to content

Commit a23588b

Browse files
committed
workflow updated
1 parent 12e6625 commit a23588b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)