Skip to content

Commit

Permalink
create action for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Meech committed Sep 8, 2023
1 parent 1127133 commit bcfa223
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/zip-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Zip release excluding docs

on:
# Only trigger on push to main with a version tag
push:
branches:
- main
tags:
- "v*.*.*"

jobs:
Zip-release:
runs-on: ubuntu-latest

steps:

- name: Check out repository code
uses: actions/checkout@v3

- name: Only zip python files
run: zip image-matcher.zip *.py

- name: Release
uses: softprops/action-gh-release@v1
with:
files: image-matcher.zip

0 comments on commit bcfa223

Please sign in to comment.