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
b2un0 committed Aug 21, 2020
1 parent ac22aa6 commit da1a7d0
Show file tree
Hide file tree
Showing 7 changed files with 742 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.

41 changes: 0 additions & 41 deletions build.xml

This file was deleted.

4 changes: 2 additions & 2 deletions mod_world_of_logs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<language tag="de-DE">de-DE/de-DE.mod_world_of_logs.sys.ini</language>
</languages>
<updateservers>
<server type="collection" priority="1" name="z-index development">http://www.z-index.net/en/extensions.xml</server>
<server type="extension" priority="1" name="W">https://raw.githubusercontent.com/z-index-net/joomla-module-world-of-logs/master/updatestream.xml</server>
</updateservers>
<media folder="media" destination="mod_world_of_logs">
<folder>css</folder>
Expand All @@ -41,4 +41,4 @@
</fieldset>
</fields>
</config>
</extension>
</extension>
Empty file added readme.md
Empty file.
16 changes: 16 additions & 0 deletions updatestream.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<updates>
<update>
<name>World of Logs latest Raids</name>
<element>mod_world_of_logs</element>
<type>module</type>
<client>0</client>
<version>1.0.0</version>
<infourl>https://github.com/z-index-net/joomla-module-world-of-logs</infourl>
<downloads>
<downloadurl type="full" format="zip">https://github.com/z-index-net/joomla-module-world-of-logs/releases/download/1.0.0/joomla-module-world-of-logs.zip</downloadurl>
</downloads>
<targetplatform name="joomla" version="^3\."/>
</update>
</updates>

0 comments on commit da1a7d0

Please sign in to comment.