Skip to content

Commit 2b105b3

Browse files
committed
automated release
1 parent e6f6f8f commit 2b105b3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/github-release.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,22 @@ jobs:
104104
uses: actions/download-artifact@master
105105
with:
106106
name: plugin-zip
107+
108+
- name: install subversion
109+
run: |
110+
sudo apt-get update
111+
sudo apt-get -y install subversion
112+
113+
- name: checkout svn
114+
run: |
115+
svn co https://plugins.svn.wordpress.org/gdata-antivirus/ svn/gdata-antivirus
116+
117+
- name: unzip
118+
run: unzip gdata-antivirus-${{needs.get-version.outputs.plugin_version}}.zip -d svn/gdata-antivirus-${{needs.get-version.outputs.plugin_version}}
119+
120+
- name: check version changelog
121+
run: grep "= ${{needs.get-version.outputs.plugin_version}} =" svn/gdata-antivirus-${{needs.get-version.outputs.plugin_version}}/Readme.txt
122+
107123
- name: Release
108124
uses: softprops/action-gh-release@v2
109125
with:

0 commit comments

Comments
 (0)