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

Commit 2e0ea4f

Browse files
committed
add release workflow
add missing LICENSE move updatestream to github
1 parent c114e56 commit 2e0ea4f

File tree

7 files changed

+742
-42
lines changed

7 files changed

+742
-42
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.

com_kunena.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<language tag="ru-RU">ru-RU/ru-RU.plg_xmap_com_kunena.sys.ini</language>
2828
</languages>
2929
<updateservers>
30-
<server type="collection" priority="1" name="z-index development">http://www.z-index.net/en/extensions.xml</server>
30+
<server type="extension" priority="1" name="Xmap - Kunena Integration">https://raw.githubusercontent.com/z-index-net/joomla-plugin-xmap-kunena/master/updatestream.xml</server>
3131
</updateservers>
3232
<config>
3333
<fields name="params">

readme.md

Whitespace-only changes.

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>Xmap - Kunena Integration</name>
5+
<element>com_kunena</element>
6+
<type>plugin</type>
7+
<client>0</client>
8+
<folder>xmap</folder>
9+
<version>1.0.0</version>
10+
<infourl>https://github.com/z-index-net/joomla-plugin-xmap-kunena</infourl>
11+
<downloads>
12+
<downloadurl type="full" format="zip">https://github.com/z-index-net/joomla-plugin-xmap-kunena/releases/download/1.0.0/joomla-plugin-xmap-kunena.zip</downloadurl>
13+
</downloads>
14+
<targetplatform name="joomla" version="^3\."/>
15+
</update>
16+
</updates>
17+

0 commit comments

Comments
 (0)