Skip to content

Update README.md (#1) #8

Update README.md (#1)

Update README.md (#1) #8

Workflow file for this run

name: Release on Merge To Master
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: pip install -r requirements.txt
- name: Bundle Add-on
run: python release.py --no-zip
- id: release
uses: dctrotz/release-on-push-action@fixupload_url
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bump_version_scheme: minor
- name: Patch Add-on Version
run: python release.py --tag ${{steps.release.outputs.version}}
- name: Zip Add-on
run: python release.py --zip-only lol-blender-${{steps.release.outputs.tag_name}}
- name: Upload Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: dist/lol-blender-${{steps.release.outputs.tag_name}}.zip
asset_name: lol-blender-${{steps.release.outputs.tag_name}}.zip
asset_content_type: application/zip
permissions:
contents: write
pull-requests: read