Skip to content

updated login references and version varibale #25 #32

updated login references and version varibale #25

updated login references and version varibale #25 #32

Workflow file for this run

name: Create Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.x
- name: Install Poetry
run: |
pip install poetry
poetry config virtualenvs.create false # Skip creating a virtual environment
env:
POETRY_HOME: ${{ github.workspace }}/.poetry
- name: Install project dependencies
run: |
poetry install
env:
POETRY_HOME: ${{ github.workspace }}/.poetry
- name: Build package
run: |
poetry build
env:
POETRY_HOME: ${{ github.workspace }}/.poetry
- name: Version from Python
run: echo "VERSION=$(python3 ./version.py)" >> $GITHUB_ENV
- name: Create Release
uses: ncipollo/[email protected]
with:
tag: ${{ env.VERSION}}
name: Version ${{env.VERSION}}
body: |
Automated Release preparation using Git Tag
- make sure tests didn't fail
- needs to be published from draft online
Install as package using:
pip install git+https://github.com/bensteUEM/ChurchWebHelper.git@${{env.VERSION}}#egg=ChurchWebHelper
or use docker image at
ghcr.io/bensteuem/church_web_helper:latest
draft: true
prerelease: false
artifacts: dist/*