Compare commits
7 commits
6eb48bd180
...
f546076259
| Author | SHA1 | Date | |
|---|---|---|---|
| f546076259 | |||
| 2b37f24790 | |||
| 7673770dbd | |||
| fb88316bc4 | |||
| f20dd14c6f | |||
| f9e4b05432 | |||
| a263e3ddb0 |
3 changed files with 29 additions and 7 deletions
25
.github/workflows/release.yaml
vendored
25
.github/workflows/release.yaml
vendored
|
|
@ -1,5 +1,9 @@
|
||||||
name: Publish python package to pypi and testpypi
|
name: Publish release packages
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build distribution
|
name: Build distribution
|
||||||
|
|
@ -26,6 +30,7 @@ jobs:
|
||||||
publish-to-testpypi:
|
publish-to-testpypi:
|
||||||
name: Test publishing to testpypi
|
name: Test publishing to testpypi
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -68,13 +73,23 @@ jobs:
|
||||||
name: Create github release
|
name: Create github release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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:
|
with:
|
||||||
changelog: CHANGELOG.md
|
changelog: CHANGELOG.md
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
draft: true
|
- name: Attach files to release
|
||||||
branch: main
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
files: dist/*
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.2.0] - 2025-04-09
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Place notes into `notes` subdirectory of taskwarrior data directory by default
|
- Place notes into `notes` subdirectory of taskwarrior data directory by default
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,18 @@
|
||||||
[project]
|
[project]
|
||||||
name = "topen"
|
name = "topen"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
description = "Quickly edit notes for your taskwarrior tasks"
|
description = "simple taskwarrior note management"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"tasklib>=2.5.1",
|
"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]
|
[tool.uv]
|
||||||
package = true
|
package = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue