Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# ref: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Publish Package

on:
# publish from the Releases page:
release:
types: [published]

jobs:
publish:
name: Publish Package

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build

- name: Build
run: python -m build

- name: Publish to Github
uses: softprops/action-gh-release@v1
with:
files: 'dist/*'
fail_on_unmatched_files: true
prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'dev') }}

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IMAP authentication plugin for [Radicale](http://radicale.org/).
## Installation

```shell
$ python3 -m pip install --upgrade https://github.com/Unrud/RadicaleIMAP/archive/master.tar.gz
$ python3 -m pip install --upgrade RadicaleIMAP
```

## Configuration
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
VERSION = "3.0.0"

setup(
name="Radicale_IMAP",
name="RadicaleIMAP",
Copy link
Author

@kousu kousu Apr 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unfortunate, it's because https://pypi.org/project/radicale-imap/ is an old fork squatting on your name.

We could rename to "Radicale_IMAP_auth" instead, or try to ask them to merge their project and grant you the name back.

version=VERSION,
description="IMAP authentication plugin for Radicale",
author="Unrud",
Expand Down