Skip to content

update release notes for v0.0.8 #12

update release notes for v0.0.8

update release notes for v0.0.8 #12

Workflow file for this run

on:
push:
tags:
- 'v*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v1
- name: Set addon version
run: sed --in-place '/<addon/ s/version="[^"]*"/version="'${GITHUB_REF##*/v}'"/' addon.xml
- name: Create addon zip
run: |
mkdir -p /tmp/plugin.video.stash
rsync -a --exclude 'resources/stash_logo.svg' addon.xml addon.py resources /tmp/plugin.video.stash
cd /tmp/
zip -r plugin.video.stash.zip plugin.video.stash/
- name: Upload
uses: actions/upload-artifact@v3
with:
name: plugin.video.stash.zip
path: /tmp/plugin.video.stash.zip
release:
name: Release
runs-on: ubuntu-latest
needs: ['build']
steps:
- uses: actions/download-artifact@v3
with:
name: plugin.video.stash.zip
- uses: marvinpinto/[email protected]
with:
repo_token: ${{ secrets.RELEASE_TOKEN }}
prerelease: false
files: |
plugin.video.stash.zip