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

Commit

Permalink
add release workflow
Browse files Browse the repository at this point in the history
add missing LICENSE
move updatestream to github
  • Loading branch information
Branko Wilhelm committed Aug 21, 2020
1 parent 5f440ac commit acda4cf
Show file tree
Hide file tree
Showing 7 changed files with 810 additions and 108 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/github-slug-action@v2.x

- 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.

41 changes: 0 additions & 41 deletions build.xml

This file was deleted.

136 changes: 69 additions & 67 deletions com_zoo.xml
Original file line number Diff line number Diff line change
@@ -1,80 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<extension type="plugin" group="xmap" version="1.6" method="upgrade">
<name>Xmap - Zoo Plugin</name>
<author>WDEVP</author>
<creationDate>21-08-2011</creationDate>
<copyright>GNU/GPL</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail>support@wdevp.com</authorEmail>
<authorUrl>www.wdevp.com</authorUrl>
<version>2.1.1TD</version>
<description>Zoo Plugin for Xmap 2.0. Updated by Matt Faulds for SEF.</description>
<files>
<filename plugin="com_zoo">com_zoo.php</filename>
</files>

<config>
<fields name="params">
<name>Xmap - Zoo Plugin</name>
<author>WDEVP</author>
<creationDate>21-08-2011</creationDate>
<copyright>GNU/GPL</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail>support@wdevp.com</authorEmail>
<authorUrl>www.wdevp.com</authorUrl>
<version>2.1.2</version>
<description>Zoo Plugin for Xmap 2.0. Updated by Matt Faulds for SEF.</description>
<files>
<filename plugin="com_zoo">com_zoo.php</filename>
</files>
<updateservers>
<server type="extension" priority="1" name="Xmap - Zoo Integration">https://raw.githubusercontent.com/z-index-net/joomla-plugin-xmap-zoo/master/updatestream.xml</server>
</updateservers>
<config>
<fields name="params">
<fieldset name="basic">
<field name="include_categories" type="list" default="1" label="Show Categories" description="Should we include links to categories into the sitemap?">
<option value="0">Never</option>
<option value="1">Always</option>
<option value="2">In XML Sitemap Only</option>
<option value="3">In Site Sitemap Only</option>
</field>
<field name="include_items" type="list" default="1" label="Show Items" description="Should we include links to items into the sitemap?">
<option value="0">Never</option>
<option value="1">Always</option>
<option value="2">In XML Sitemap Only</option>
<option value="3">In Site Sitemap Only</option>
</field>
<field name="include_categories" type="list" default="1" label="Show Categories" description="Should we include links to categories into the sitemap?">
<option value="0">Never</option>
<option value="1">Always</option>
<option value="2">In XML Sitemap Only</option>
<option value="3">In Site Sitemap Only</option>
</field>
<field name="include_items" type="list" default="1" label="Show Items" description="Should we include links to items into the sitemap?">
<option value="0">Never</option>
<option value="1">Always</option>
<option value="2">In XML Sitemap Only</option>
<option value="3">In Site Sitemap Only</option>
</field>
<field name="cat_priority" type="list" default="-1" label="Category Priority" description="Set the priority for the categories">
<option value="-1">Use Parent Menu Settings</option>
<option value="0.0">0.0</option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1">1</option>
<option value="-1">Use Parent Menu Settings</option>
<option value="0.0">0.0</option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1">1</option>
</field>
<field name="cat_changefreq" type="list" default="-1" label="Category Change frequency" description="Set the chage frequency for the categories">
<option value="-1">Use Parent Menu Settings</option>
<option value="always">Always</option>
<option value="hourly">Hourly</option>
<option value="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="yearly">Yearly</option>
<option value="never">Never</option>
<option value="-1">Use Parent Menu Settings</option>
<option value="always">Always</option>
<option value="hourly">Hourly</option>
<option value="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="yearly">Yearly</option>
<option value="never">Never</option>
</field>
<field name="item_priority" type="list" default="-1" label="Item Priority" description="Set the priority for the items">
<option value="-1">Use Parent Menu Settings</option>
<option value="0.0">0.0</option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1">1</option>
<option value="-1">Use Parent Menu Settings</option>
<option value="0.0">0.0</option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1">1</option>
</field>
<field name="item_changefreq" type="list" default="-1" label="Item Change frequency" description="Set the chage frequency for the items">
<option value="-1">Use Parent Menu Settings</option>
<option value="always">Always</option>
<option value="hourly">Hourly</option>
<option value="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="yearly">Yearly</option>
<option value="never">Never</option>
<option value="-1">Use Parent Menu Settings</option>
<option value="always">Always</option>
<option value="hourly">Hourly</option>
<option value="daily">Daily</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="yearly">Yearly</option>
<option value="never">Never</option>
</field>
</fieldset>
</fields>
Expand Down
Empty file added readme.md
Empty file.
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"?>
<updates>
<update>
<name>Xmap - Zoo Plugin</name>
<element>com_zoo</element>
<type>plugin</type>
<client>0</client>
<folder>xmap</folder>
<version>2.1.2</version>
<infourl>https://github.com/z-index-net/joomla-plugin-xmap-zoo</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/z-index-net/joomla-plugin-xmap-zoo/releases/download/2.1.2/joomla-plugin-xmap-zoo.zip</downloadurl>
</downloads>
<targetplatform name="joomla" version="^3\."/>
</update>
</updates>

0 comments on commit acda4cf

Please sign in to comment.