Compare commits

...

7 commits

Author SHA1 Message Date
f546076259
chore: Only publish to test pypi on tagged releases
Some checks are pending
website / build (push) Waiting to run
website / deploy (push) Blocked by required conditions
2025-04-09 12:57:51 +02:00
2b37f24790
feat: Automatically publish full github releases 2025-04-09 12:53:54 +02:00
7673770dbd
fix: Attach distribution files to github release 2025-04-09 12:53:53 +02:00
fb88316bc4
feat: Bump version 2025-04-09 12:12:18 +02:00
f20dd14c6f
chore: Rename release workflow 2025-04-09 12:00:14 +02:00
f9e4b05432
chore: Only run release on main branch and version tag pushes 2025-04-09 11:46:05 +02:00
a263e3ddb0
fix: Require build job before releasing 2025-04-09 11:46:04 +02:00
3 changed files with 29 additions and 7 deletions

View file

@ -1,5 +1,9 @@
name: Publish python package to pypi and testpypi
on: push
name: Publish release packages
on:
push:
tags:
- v*
jobs:
build:
name: Build distribution
@ -26,6 +30,7 @@ jobs:
publish-to-testpypi:
name: Test publishing to testpypi
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
environment:
@ -68,13 +73,23 @@ jobs:
name: Create github release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
- name: Grab dist files
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Generate release
uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
branch: main
- name: Attach files to release
uses: softprops/action-gh-release@v2
with:
files: dist/*

View file

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.2.0] - 2025-04-09
### Added
- Place notes into `notes` subdirectory of taskwarrior data directory by default

View file

@ -1,13 +1,18 @@
[project]
name = "topen"
version = "0.1.0"
description = "Quickly edit notes for your taskwarrior tasks"
version = "0.2.0"
description = "simple taskwarrior note management"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"tasklib>=2.5.1",
]
[project.urls]
Documentation = "https://marty-oehme.github.io/topen"
Repository = "https://github.com/marty-oehme/topen"
Changelog = "https://github.com/marty-oehme/topen/blob/main/CHANGELOG.md"
[tool.uv]
package = true