diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d8d1fc2..6e2611c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,9 +1,5 @@ -name: Publish release packages -on: - push: - tags: - - v* - +name: Publish python package to pypi and testpypi +on: push jobs: build: name: Build distribution @@ -30,7 +26,6 @@ jobs: publish-to-testpypi: name: Test publishing to testpypi runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') needs: - build environment: @@ -73,23 +68,13 @@ 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 - - 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 + - uses: taiki-e/create-gh-release-action@v1 with: changelog: CHANGELOG.md token: ${{ secrets.GITHUB_TOKEN }} - - name: Attach files to release - uses: softprops/action-gh-release@v2 - with: - files: dist/* + draft: true + branch: main diff --git a/CHANGELOG.md b/CHANGELOG.md index ea00713..af98f6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ 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 diff --git a/pyproject.toml b/pyproject.toml index 2fac9be..2374df0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,13 @@ [project] name = "topen" -version = "0.2.0" -description = "simple taskwarrior note management" +version = "0.1.0" +description = "Quickly edit notes for your taskwarrior tasks" 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