Skip to content

Commit 4f12a77

Browse files
committed
automated release
1 parent e6f6f8f commit 4f12a77

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/github-release.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,27 @@ 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: |
122+
grep "= ${{needs.get-version.outputs.plugin_version}} =" svn/gdata-antivirus-${{needs.get-version.outputs.plugin_version}}/Readme.txt
123+
- name: commit
124+
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'beta')
125+
run: |
126+
echo "commit"
127+
107128
- name: Release
108129
uses: softprops/action-gh-release@v2
109130
with:

Readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ While the released code is hosted on the WordPress svn, we develop the plugin on
5656

5757
== Changelog ==
5858

59+
= v2.1.0-beta3 =
60+
* something
61+
5962
= 2.1.0 =
6063
* bugfix: [full scan runs in loop](https://github.com/GDATASoftwareAG/wordpress-gdata-antivirus/issues/37)
6164
* bugifx: fails on duplicate key when detecting the same file twice

0 commit comments

Comments
 (0)