-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 897 Bytes
/
release.yml
File metadata and controls
39 lines (32 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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