aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-03-21 13:43:42 -0400
committerEugene Triguba <hello@eugenetriguba.com>2026-03-21 14:19:10 -0400
commit3794971659fb9844488ceff5b35c0eccb4df3e9d (patch)
tree34e1b0863f532a52e953409fa8dd004cd1fb2562 /scripts
parentAdd automated announcement email on pypi publish (diff)
downloadtaskipy2-main.zip
Release version v1.16.1HEAD1.16.1main
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/publish-to-pypi.sh2
-rwxr-xr-xscripts/release-commit.sh4
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"