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

Commit 17fd380

Browse files
author
Branko Wilhelm
committed
add release workflow
add missing LICENSE move updatestream to github
1 parent 199823c commit 17fd380

File tree

7 files changed

+743
-43
lines changed

7 files changed

+743
-43
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ["https://www.paypal.me/b2un0/EUR"]

.github/workflows/release.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: 'release'
2+
3+
on:
4+
create:
5+
tags:
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v1
13+
14+
- name: Inject slug/short variables
15+
uses: rlespinasse/github-slug-action@v2.x
16+
17+
- name: Find and Replace
18+
uses: shitiomatic/str-replace@master
19+
with:
20+
find: "@REVISION@"
21+
replace: "${{ env.GITHUB_REF_SLUG }}"
22+
include: "./*.xml"
23+
24+
- name: Archive Release
25+
uses: thedoctor0/zip-release@master
26+
with:
27+
filename: "${{ github.event.repository.name }}.zip"
28+
exclusions: '*.git* /screenshots/* updatestream.xml'
29+
30+
- name: Create Release
31+
id: create_release
32+
uses: actions/create-release@v1
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
with:
36+
tag_name: ${{ github.ref }}
37+
release_name: ${{ env.GITHUB_REF_SLUG }}
38+
draft: false
39+
prerelease: false
40+
41+
- name: Upload Release Asset
42+
uses: actions/upload-release-asset@v1
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
with:
46+
upload_url: ${{ steps.create_release.outputs.upload_url }}
47+
asset_path: ${{ github.event.repository.name }}.zip
48+
asset_name: ${{ github.event.repository.name }}.zip
49+
asset_content_type: application/zip

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

build.xml

Lines changed: 0 additions & 41 deletions
This file was deleted.

readme.md

Whitespace-only changes.

ssl.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<filename plugin="ssl">ssl.php</filename>
1414
</files>
1515
<updateservers>
16-
<server type="collection" priority="1" name="z-index development">http://www.z-index.net/en/extensions.xml</server>
16+
<server type="extension" priority="1" name="System - SSL">https://raw.githubusercontent.com/z-index-net/joomla-plugin-system-ssl/master/updatestream.xml</server>
1717
</updateservers>
1818
<config>
1919
<fields name="params">
@@ -22,4 +22,4 @@
2222
</fieldset>
2323
</fields>
2424
</config>
25-
</extension>
25+
</extension>

updatestream.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<updates>
3+
<update>
4+
<name>System - SSL</name>
5+
<element>ssl</element>
6+
<type>plugin</type>
7+
<client>0</client>
8+
<folder>system</folder>
9+
<version>1.0.0</version>
10+
<infourl>https://github.com/z-index-net/joomla-plugin-system-ssl</infourl>
11+
<downloads>
12+
<downloadurl type="full" format="zip">https://github.com/z-index-net/joomla-plugin-system-ssl/releases/download/1.0.0/joomla-plugin-system-ssl.zip</downloadurl>
13+
</downloads>
14+
<targetplatform name="joomla" version="^3\."/>
15+
</update>
16+
</updates>
17+

0 commit comments

Comments
 (0)