Skip to content

Commit

Permalink
automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
ata-no-one committed Nov 5, 2024
1 parent e6f6f8f commit 71eedac
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,28 @@ jobs:
uses: actions/download-artifact@master
with:
name: plugin-zip

- name: install subversion
run: |
sudo apt-get update
sudo apt-get -y install subversion
- name: checkout svn
run: |
svn co https://plugins.svn.wordpress.org/gdata-antivirus/ svn/gdata-antivirus
- name: unzip
run: unzip gdata-antivirus-${{needs.get-version.outputs.plugin_version}}.zip -d svn/gdata-antivirus-${{needs.get-version.outputs.plugin_version}}

- name: check version changelog
run: |
grep "= ${{needs.get-version.outputs.plugin_version}} =" svn/gdata-antivirus-${{needs.get-version.outputs.plugin_version}}/Readme.txt
- name: commit
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'beta')
run: |
echo "commit"
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ While the released code is hosted on the WordPress svn, we develop the plugin on

== Changelog ==

= 2.1.0-beta3 =
* something

= 2.1.0 =
* bugfix: [full scan runs in loop](https://github.com/GDATASoftwareAG/wordpress-gdata-antivirus/issues/37)
* bugifx: fails on duplicate key when detecting the same file twice
Expand Down

0 comments on commit 71eedac

Please sign in to comment.