Skip to content

Commit

Permalink
Changelog automático
Browse files Browse the repository at this point in the history
  • Loading branch information
pablouser1 committed Jan 3, 2023
1 parent 992a63e commit b136945
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/zip.yaml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create ZIP
name: Create release with ZIP
on:
push:
branches:
Expand All @@ -10,12 +10,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@master
- name: Get XML
id: getxml
- name: Get Version
id: version
uses: howbout-ltd/get-xml-info@master
with:
xml-file: "addon.xml"
xpath: "//addon/@version"
- name: Get changelog
id: changelog
uses: howbout-ltd/get-xml-info@master
with:
xml-file: "addon.xml"
xpath: "//addon/extension[2]/news"
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
Expand All @@ -30,5 +36,6 @@ jobs:
artifacts: "../filmin-kodi-release.zip"
artifactContentType: application/zip
token: ${{ secrets.GITHUB_TOKEN }}
tag: v${{ steps.getxml.outputs.info }}
tag: v${{ steps.version.outputs.info }}
body: ${{ steps.changelog.outputs.info }}
allowUpdates: true
8 changes: 2 additions & 6 deletions addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@
<website>https://github.com/pablouser1/plugin.video.filmin</website>
<source>http://github.com/pablouser1/plugin.video.filmin</source>
<news>
v1.5.1 (03/01/2023)
Arreglados varios errores que hacían imposible reproducir contenido
---
v1.5.0 (10/09/2022)
Implementado sistema de perfiles
IMPORTANTE: Cierra sesión antes de utilizar si vienes de una versión anterior
v1.5.1 (03/01/2023)
Arreglados varios errores que hacían imposible reproducir contenido
</news>
<assets>
<icon>resources/icon.png</icon>
Expand Down

0 comments on commit b136945

Please sign in to comment.