aboutsummaryrefslogtreecommitdiffstats
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
parentAdd automated announcement email on pypi publish (diff)
downloadtaskipy2-1.16.1.zip
Release version v1.16.1HEAD1.16.1main
-rw-r--r--.builds/release.yml4
-rw-r--r--CHANGELOG.md2
-rw-r--r--pyproject.toml2
-rwxr-xr-xscripts/publish-to-pypi.sh2
-rwxr-xr-xscripts/release-commit.sh4
5 files changed, 8 insertions, 6 deletions
diff --git a/.builds/release.yml b/.builds/release.yml
index 3027e9e..6901a0a 100644
--- a/.builds/release.yml
+++ b/.builds/release.yml
@@ -19,6 +19,6 @@ tasks:
- release: |
cd taskipy2
set +x
- TOKEN=$(cat ~/.pypi-token)
- source ~/.smtp-env
+ export TOKEN=$(cat ~/.pypi-token)
+ export $(cat ~/.smtp-env | xargs)
./scripts/publish-to-pypi.sh --token "$TOKEN"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 782b013..bd15011 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [Unreleased]
+## [1.16.1] - 2026-03-21
### Fixed
diff --git a/pyproject.toml b/pyproject.toml
index d6ae6cf..308aace 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
[project]
name = "taskipy2"
description = "tasks runner for python projects"
-version = "1.16.0"
+version = "1.16.1"
authors = [
{ name = "Roy Sommer", email = "roy@sommer.co.il" },
{ name = "Eugene Triguba", email = "hello@eugenetriguba.com" }
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"