diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-21 13:43:42 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-21 14:19:10 -0400 |
| commit | 3794971659fb9844488ceff5b35c0eccb4df3e9d (patch) | |
| tree | 34e1b0863f532a52e953409fa8dd004cd1fb2562 /scripts | |
| parent | Add automated announcement email on pypi publish (diff) | |
| download | taskipy2-main.zip | |
Diffstat (limited to '')
| -rwxr-xr-x | scripts/publish-to-pypi.sh | 2 | ||||
| -rwxr-xr-x | scripts/release-commit.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/publish-to-pypi.sh b/scripts/publish-to-pypi.sh index a3eb1a6..a6ac14e 100755 --- a/scripts/publish-to-pypi.sh +++ b/scripts/publish-to-pypi.sh @@ -52,6 +52,8 @@ send_announcement_email() { From: ${SMTP_FROM} To: ${ANNOUNCE_MAILING_LIST} Subject: [taskipy2] v${_pyproject_version} released +Message-ID: <$(date +%s).$$@${SMTP_HOST}> +Date: $(date -R) Hi all, diff --git a/scripts/release-commit.sh b/scripts/release-commit.sh index be43d8b..5a392a1 100755 --- a/scripts/release-commit.sh +++ b/scripts/release-commit.sh @@ -10,8 +10,8 @@ main() { VERSION="$1" DATE=$(date +%Y-%m-%d) - sed -i "s/^version = \".*\"/version = \"$VERSION\"/" pyproject.toml - sed -i "s/^## \[Unreleased\]/## [$VERSION] - $DATE/" CHANGELOG.md + sed -i "" "s/^version = \".*\"/version = \"$VERSION\"/" pyproject.toml + sed -i "" "s/^## \[Unreleased\]/## [$VERSION] - $DATE/" CHANGELOG.md git add pyproject.toml CHANGELOG.md git commit -m "Release version v$VERSION" |