nocturne-shift 2.0.2__tar.gz → 2.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nocturne_shift-2.0.3/.github/workflows/release.yml +64 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.github/workflows/test.yml +1 -1
- {nocturne_shift-2.0.2/src/nocturne_shift.egg-info → nocturne_shift-2.0.3}/PKG-INFO +1 -1
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3/src/nocturne_shift.egg-info}/PKG-INFO +1 -1
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/SOURCES.txt +1 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/scm_file_list.json +1 -0
- nocturne_shift-2.0.3/src/nocturne_shift.egg-info/scm_version.json +8 -0
- nocturne_shift-2.0.2/src/nocturne_shift.egg-info/scm_version.json +0 -8
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.claude/skills/pytest-review/SKILL.md +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.claude/skills/pytest-review/references/mock-pitfalls.md +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.claude/skills/pytest-review/references/pytest-rosetta.md +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.claude/skills/pytest-review/scripts/mutation_check.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.github/workflows/publish-pypi.yml +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.github/workflows/publish-testpypi.yml +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.gitignore +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/LICENSE +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/Makefile +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/README.md +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/docs/README.md +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/pyproject.toml +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/pytest.ini +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/setup.cfg +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/__init__.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/bin/get_sunrise_sunset.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/bin/is_day_or_night.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/bin/settings.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/cli.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/data_store.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/schemas/com.github.christophermca.night-shift.gschema.xml +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift/schemas/gschemas.compiled +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/dependency_links.txt +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/entry_points.txt +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/requires.txt +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/top_level.txt +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/.gitignore +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/conftest.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/test_cli.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/test_data_store.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/test_get_sunrise_sunset.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/test_is_day_or_night.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/test_plugins.py +0 -0
- {nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/tests/test_settings.py +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v\d+.\d+.\d+'
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
inputs:
|
|
9
|
+
tag:
|
|
10
|
+
description: "Existing release tag, e.g. v2.0.0"
|
|
11
|
+
required: true
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
create-release:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
21
|
+
env:
|
|
22
|
+
TAG: ${{ inputs.tag || github.ref_name }}
|
|
23
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v7
|
|
26
|
+
with:
|
|
27
|
+
ref: ${{ env.TAG }}
|
|
28
|
+
fetch-depth: 0
|
|
29
|
+
|
|
30
|
+
- name: Validate tag is on main
|
|
31
|
+
run: |
|
|
32
|
+
git fetch --quiet origin main
|
|
33
|
+
if ! git merge-base --is-ancestor HEAD origin/main; then
|
|
34
|
+
echo "::error:: $TAG is not on main. Merge into main, then tag the mergw commit."
|
|
35
|
+
exit 1
|
|
36
|
+
fi
|
|
37
|
+
|
|
38
|
+
- uses: actions/setup-python@v7
|
|
39
|
+
with:
|
|
40
|
+
python-version: "3.12"
|
|
41
|
+
|
|
42
|
+
- name: Build the wheel and dist
|
|
43
|
+
run: |
|
|
44
|
+
make rebuild
|
|
45
|
+
ls dist
|
|
46
|
+
|
|
47
|
+
- name: Check the version matches the tag
|
|
48
|
+
run: |
|
|
49
|
+
expected="${TAG#v}"
|
|
50
|
+
for file in dist/*; do
|
|
51
|
+
case "$file" in
|
|
52
|
+
*-"$expected"-*.whl | *-"$expected".tar.gz) ;;
|
|
53
|
+
*) echo "::error::$file is not version $expected"; exit 1 ;;
|
|
54
|
+
esac
|
|
55
|
+
done
|
|
56
|
+
|
|
57
|
+
- name: Create Draft Github Release
|
|
58
|
+
run: |
|
|
59
|
+
gh release create "$TAG" dist/* \
|
|
60
|
+
--verify-tag \
|
|
61
|
+
--title "nocturne-shift ${TAG#v}" \
|
|
62
|
+
--generate-notes \
|
|
63
|
+
--fail-on-no-commits \
|
|
64
|
+
--draft
|
|
@@ -10,6 +10,7 @@ pytest.ini
|
|
|
10
10
|
.claude/skills/pytest-review/scripts/mutation_check.py
|
|
11
11
|
.github/workflows/publish-pypi.yml
|
|
12
12
|
.github/workflows/publish-testpypi.yml
|
|
13
|
+
.github/workflows/release.yml
|
|
13
14
|
.github/workflows/test.yml
|
|
14
15
|
docs/README.md
|
|
15
16
|
src/nocturne_shift/__init__.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/.claude/skills/pytest-review/scripts/mutation_check.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nocturne_shift-2.0.2 → nocturne_shift-2.0.3}/src/nocturne_shift.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|