Skip to content

Commit

Permalink
Updated Release Workflow (#12)
Browse files Browse the repository at this point in the history
* Setup pre-commit hooks

* Updated path for ruff formatter

* initial readme commit - needs updating

* Updated return object for sendRequests; support for return_exceptions

* initial test setup

* Added tests that interact with test server

* Implemented PUT, PATCH, OPTIONS, DELETE; updated return type to dataclass

* isort formatting

* GitHub Actions + Ruff config

* initial commit of workflow

* Updated import path

* Updated braches config

* Updated RUFF linter config and added to GitHub Actions workflow

* Updated ignore config for Ruff

* Updated type annotations

* Test code formatting fixes

* Added badges to README

* Renamed workflow to CI

* Documentation for Installation and Example Usage in README (#5)

* Created 'Installing' and 'Usage' sections in README

* Added example in 'Usage' section

* Added 'Parsing Results' subsection

* Removed 'Parsing Results' subsection and added to 'Example' code block

* Setup PyPI Publishing from GitHub Actions Workflow (#4)

* Added release workflow to publish to pypi

* Updated version to 0.0.2

* Updated release workflow to only be triggered by pushed to main

* Fixed typo

* Renamed RequestResponse.responseBody -> RequestResponse.body

* uvloop is optional; defaults to asyncio (#9)

* Updated README and reset version to 0.0.1

* Increased version to 0.0.2.alpha

* Updated  workflow to be triggered by releases
  • Loading branch information
fullerzz authored Nov 24, 2023
1 parent cd404ab commit d5c7593
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on:
push:
branches: [ "main" ]
release:
types: [ published ]

jobs:
build:
Expand Down Expand Up @@ -45,7 +45,6 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit d5c7593

Please sign in to comment.