bashrun 0.1.5__tar.gz → 0.1.7__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.
@@ -0,0 +1,26 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ jobs:
14
+ check:
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ contents: read
18
+ steps:
19
+ - uses: actions/checkout@v5
20
+
21
+ - uses: astral-sh/setup-uv@v7
22
+ with:
23
+ enable-cache: true
24
+
25
+ - name: Preflight
26
+ run: uvx --from python-devkit==0.1.5 preflight-python
@@ -0,0 +1,31 @@
1
+ name: Release
2
+
3
+ on:
4
+ workflow_run:
5
+ workflows: [CI]
6
+ types: [completed]
7
+ branches: [main]
8
+
9
+ concurrency:
10
+ group: release
11
+ cancel-in-progress: false
12
+
13
+ jobs:
14
+ publish:
15
+ if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main'
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ contents: write
19
+ id-token: write
20
+ steps:
21
+ - uses: actions/checkout@v5
22
+ with:
23
+ ref: ${{ github.event.workflow_run.head_sha }}
24
+
25
+ # Workaround: fetch-tags is broken with shallow clones
26
+ - run: git fetch --tags origin
27
+
28
+ - uses: astral-sh/setup-uv@v7
29
+
30
+ - name: Publish
31
+ run: uvx --from release-devkit==0.1.3 publish-packages --config publish-config.json
@@ -35,7 +35,7 @@ The package is `bashrun` (src-layout under `src/bashrun/`); consumer repos decla
35
35
 
36
36
  ## Release flow
37
37
 
38
- Publishing rides `ci.yml`'s `publish` job on every push to `main` (gated on the check job): release-devkit's publish composite action (pinned by SHA; the uvx invocation runs inside the caller's job, keeping OIDC identity local), never a project dependency (bashrun sits inside release-devkit's own dependency graph; a project-level edge is a resolver cycle) — computes the plan from the tag ledger and path-diff, patches the version ephemerally, and publishes to PyPI under OIDC trusted publishing (pending publisher bound to `ci.yml`, no environment). The committed `pyproject.toml` version is permanently the `0.0.0.dev0` sentinel; the `bashrun-v*` tags are the version ledger (first release `0.1.0`, patch-auto thereafter). API-breaking changes ship with a manually bumped version — patch-auto assumes additive changes.
38
+ Publishing rides `release.yml`, triggered by a successful CI run on a `main` push: release-devkit's `publish-packages` (an inlined, version-pinned `uvx` step in the publish job, keeping OIDC identity local), never a project dependency (bashrun sits inside release-devkit's own dependency graph; a project-level edge is a resolver cycle) — computes the plan from the tag ledger and path-diff, patches the version ephemerally, and publishes to PyPI under OIDC trusted publishing (publisher bound to `release.yml`, no environment). The committed `pyproject.toml` version is permanently the `0.0.0.dev0` sentinel; the `bashrun-v*` tags are the version ledger (first release `0.1.0`, patch-auto thereafter). API-breaking changes ship with a manually bumped version — patch-auto assumes additive changes.
39
39
 
40
40
  ## See also
41
41
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: bashrun
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: Guardrailed shell-exec helpers for Python
5
5
  License-File: LICENSE
6
6
  License-File: NOTICE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bashrun"
3
- version = "0.1.5"
3
+ version = "0.1.7"
4
4
  description = "Guardrailed shell-exec helpers for Python"
5
5
  requires-python = ">=3.13"
6
6
  dependencies = []
@@ -1,27 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches: [main]
6
- pull_request:
7
- branches: [main]
8
-
9
- concurrency:
10
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11
- cancel-in-progress: true
12
-
13
- jobs:
14
- check:
15
- uses: outernet-foundation/python-devkit/.github/workflows/check.yml@90141e9fc20af17afa25466c69ce4efb1bce8aba
16
-
17
- publish:
18
- needs: check
19
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
20
- runs-on: ubuntu-latest
21
- permissions:
22
- contents: write
23
- id-token: write
24
- steps:
25
- - uses: actions/checkout@v5
26
-
27
- - uses: outernet-foundation/release-devkit/.github/actions/publish@098b8e918c50397fef2f6d7ed1bf2452c16267d6
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