Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Branko Wilhelm committed Aug 24, 2020
1 parent c4bdadd commit e4d5b8c
Show file tree
Hide file tree
Showing 7 changed files with 755 additions and 43 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: ["https://www.paypal.me/b2un0/EUR"]
49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: 'release'

on:
create:
tags:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Inject slug/short variables
uses: rlespinasse/[email protected]

- name: Find and Replace
uses: shitiomatic/str-replace@master
with:
find: "@REVISION@"
replace: "${{ env.GITHUB_REF_SLUG }}"
include: "./*.xml"

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: "${{ github.event.repository.name }}.zip"
exclusions: '*.git* /screenshots/* updatestream.xml'

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ env.GITHUB_REF_SLUG }}
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.event.repository.name }}.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# fail2ban Extension for Joomla

![](https://img.shields.io/static/v1?label=Joomla&message=3.X&style=flat&logo=joomla&logoColor=orange&color=blue)
![](https://img.shields.io/github/release/z-index-net/joomla-plugin-system-fail2ban.svg)
![](https://img.shields.io/github/downloads/z-index-net/joomla-plugin-system-fail2ban/total.svg)
![](https://img.shields.io/badge/Maintained%3F-no-red.svg)
![](https://img.shields.io/github/license/z-index-net/joomla-plugin-system-fail2ban.svg)

Adds [fail2ban](https://www.fail2ban.org) to your Joomla Backend

#### Note
Original developed by [mediahof](https://bitbucket.org/mediahof/joomla-plugin-system-fail2ban).
41 changes: 0 additions & 41 deletions build.xml

This file was deleted.

4 changes: 2 additions & 2 deletions fail2ban.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
</fields>
</config>
<updateservers>
<server type="collection" priority="1" name="mediahof">http://extensions.mediahof.de/extensions.xml</server>
<server type="extension" priority="1" name="System - fail2ban">https://raw.githubusercontent.com/z-index-net/joomla-plugin-system-fail2ban/master/updatestream.xml</server>
</updateservers>
</extension>
</extension>
17 changes: 17 additions & 0 deletions updatestream.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<updates>
<update>
<name>System - fail2ban</name>
<element>fail2ban</element>
<type>plugin</type>
<client>0</client>
<folder>system</folder>
<version>1.0.0</version>
<infourl>https://github.com/z-index-net/joomla-plugin-system-fail2ban</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/z-index-net/joomla-plugin-system-fail2ban/releases/download/1.0.0/joomla-plugin-system-fail2ban.zip</downloadurl>
</downloads>
<targetplatform name="joomla" version="^3\."/>
</update>
</updates>

0 comments on commit e4d5b8c

Please sign in to comment.