Skip to content

Add option to strip ending with newlines #51

Add option to strip ending with newlines

Add option to strip ending with newlines #51

Workflow file for this run

name: Build and Publish
on:
workflow_dispatch:
pull_request:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install hatch
run: pipx install hatch
- name: Build sdist and wheel
run: hatch build --clean
- name: Publish
if: github.event_name == 'release' && github.event.action == 'published'
run: hatch publish --user __token__ --auth ${{ secrets.pypi_password }}