Compare commits
3 commits
771993f999
...
6eb48bd180
| Author | SHA1 | Date | |
|---|---|---|---|
| 6eb48bd180 | |||
| 11d35429c7 | |||
| bfec4f77f3 |
3 changed files with 47 additions and 19 deletions
51
.github/workflows/release.yaml
vendored
51
.github/workflows/release.yaml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: "3.x"
|
||||||
- name: Install the latest version of uv
|
- name: Install the latest version of uv
|
||||||
uses: astral-sh/setup-uv@v5
|
uses: astral-sh/setup-uv@v5
|
||||||
|
|
||||||
|
|
@ -23,6 +23,27 @@ jobs:
|
||||||
name: python-package-distributions
|
name: python-package-distributions
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
|
publish-to-testpypi:
|
||||||
|
name: Test publishing to testpypi
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
environment:
|
||||||
|
name: testpypi
|
||||||
|
url: https://test.pypi.org/p/topen
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
steps:
|
||||||
|
- name: Grab dist files
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: python-package-distributions
|
||||||
|
path: dist/
|
||||||
|
- name: Send off to TestPyPi
|
||||||
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
repository-url: https://test.pypi.org/legacy/
|
||||||
|
|
||||||
publish-to-pypi:
|
publish-to-pypi:
|
||||||
name: Publish dist to pypi
|
name: Publish dist to pypi
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -34,7 +55,6 @@ jobs:
|
||||||
url: https://pypi.org/p/topen
|
url: https://pypi.org/p/topen
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Grab dist files
|
- name: Grab dist files
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|
@ -44,24 +64,17 @@ jobs:
|
||||||
- name: Send off to PyPi
|
- name: Send off to PyPi
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
|
||||||
publish-to-testpypi:
|
create-release:
|
||||||
name: Test publishing to testpypi
|
name: Create github release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
- build
|
|
||||||
environment:
|
|
||||||
name: testpypi
|
|
||||||
url: https://test.pypi.org/p/topen
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Grab dist files
|
- uses: actions/checkout@v4
|
||||||
uses: actions/download-artifact@v4
|
- uses: taiki-e/create-gh-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: python-package-distributions
|
changelog: CHANGELOG.md
|
||||||
path: dist/
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Send off to TestPyPi
|
draft: true
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
branch: main
|
||||||
with:
|
|
||||||
repository-url: https://test.pypi.org/legacy/
|
|
||||||
|
|
|
||||||
5
.markdownlint.json
Normal file
5
.markdownlint.json
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"no-duplicate-heading": {
|
||||||
|
"siblings_only": true
|
||||||
|
}
|
||||||
|
}
|
||||||
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -20,3 +20,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Create any necessary parent directories for notes directory.
|
- Create any necessary parent directories for notes directory.
|
||||||
|
|
||||||
|
## [0.1.0] - 2025-04-01
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Open task associated note files in specified editor
|
||||||
|
- Create command line interface for option setting
|
||||||
|
- Add license
|
||||||
|
- Take `taskrc` location as cli option
|
||||||
|
- Let user set `editor` or grab from `EDITOR`/`VISUAL` env vars
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue