Skip to content

Merge pull request #316 from koordinates/hc-fix-packaging #12

Merge pull request #316 from koordinates/hc-fix-packaging

Merge pull request #316 from koordinates/hc-fix-packaging #12

Workflow file for this run

name: Release
on:
push:
tags: ["v*"]
jobs:
test:
uses: koordinates/koordinates-qgis-plugin/.github/workflows/testing.yml@master
release:
name: "Release on tag"
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Build package
run: |
python helper.py package "${GITHUB_REF/refs\/tags\//}"
- name: Create release
uses: softprops/action-gh-release@v1
if: ${{ github.repository == 'koordinates/koordinates-qgis-plugin' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
fail_on_unmatched_files: true
generate_release_notes: true
files: |
koordinates-*.zip