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

Commit 57e1c3d

Browse files
author
Branko Wilhelm
committed
add release workflow
add missing LICENSE move updatestream to github
1 parent d28bf74 commit 57e1c3d

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.

com_k2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<filename plugin="com_k2">com_k2.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="Xmap - K2 Integration">https://raw.githubusercontent.com/z-index-net/joomla-plugin-xmap-k2/master/updatestream.xml</server>
1717
</updateservers>
1818
<languages folder="language">
1919
<language tag="en-GB">en-GB/en-GB.plg_xmap_com_k2.ini</language>
@@ -89,4 +89,4 @@
8989
</fieldset>
9090
</fields>
9191
</config>
92-
</extension>
92+
</extension>

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 - K2 Integration</name>
5+
<element>com_k2</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-k2</infourl>
11+
<downloads>
12+
<downloadurl type="full" format="zip">https://github.com/z-index-net/joomla-plugin-xmap-k2/releases/download/1.0.0/joomla-plugin-xmap-k2.zip</downloadurl>
13+
</downloads>
14+
<targetplatform name="joomla" version="^3\."/>
15+
</update>
16+
</updates>
17+

0 commit comments

Comments
 (0)