From 1429665e0dcb8123dab7d71b46c037c5f7be4754 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 17 May 2025 20:56:43 +0200 Subject: [PATCH] Refactor release workflow to copy micromail.py instead of the folder, update README for installation instructions, and remove unused __init__.py file --- .forgejo/workflows/release.yaml | 2 +- README.md | 2 +- micromail/__init__.py => micromail.py | 0 package.json | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename micromail/__init__.py => micromail.py (100%) diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 0804330..2c66103 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -13,7 +13,7 @@ jobs: run: | mkdir -p /tmp/release cp package.json /tmp/release/ - cp -r micromail /tmp/release/ + cp micromail.py /tmp/release/ - name: Make release uses: actions/forgejo-release@v2.6.0 with: diff --git a/README.md b/README.md index 367a032..4b35544 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Inspired from [shawwwn/uMail](https://github.com/shawwwn/uMail). ## Installation ### Manual -Copy the `micromail` folder to your device. +Copy the `micromail.py` file to your device. ### MIP ```python diff --git a/micromail/__init__.py b/micromail.py similarity index 100% rename from micromail/__init__.py rename to micromail.py diff --git a/package.json b/package.json index 5c3a6d6..9280ebc 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "urls": [ - ["micromail/__init__.py", "micromail/__init__.py"] + ["micromail.py", "micromail.py"] ], "deps": [ ["datetime", "latest"] ], - "version": "0.1.0" + "version": "0.1.2" }