From 4358f686dbacf9d6e19be913dd8fcd9e66693be9 Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Fri, 29 Oct 2021 13:15:33 +0000 Subject: [PATCH] ci: Add file to create releases and do automatic versioning #242 --- .github/workflows/release-build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-build.yml diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml new file mode 100644 index 00000000..2ce19cd8 --- /dev/null +++ b/.github/workflows/release-build.yml @@ -0,0 +1,21 @@ +name: Release Build +on: + push: + branches: + - master + +jobs: + build: + name: Release Build + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Python Semantic Release + uses: relekang/python-semantic-release@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }}