Skip to content

Commit 5713fd0

Browse files
committed
v0.1.4
1 parent e5bddfd commit 5713fd0

5 files changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Publish to PyPI
22

33
on:
4-
# Trigger manually from GitHub Actions tab (optionally bump version)
54
workflow_dispatch:
65
inputs:
76
version:
@@ -14,16 +13,14 @@ on:
1413
type: boolean
1514
default: false
1615

17-
# Auto-publish when a GitHub Release is created
1816
release:
1917
types: [published]
2018

2119
permissions:
2220
contents: write
23-
id-token: write # Required for OIDC trusted publisher (no API token needed!)
21+
id-token: write
2422

2523
jobs:
26-
# 1. Build wheel + sdist
2724
build:
2825
name: Build distribution packages
2926
runs-on: ubuntu-latest
@@ -86,7 +83,6 @@ jobs:
8683
path: dist/
8784
retention-days: 7
8885

89-
# 2. Publish to PyPI (skipped on dry run)
9086
publish:
9187
name: Publish to PyPI
9288
needs: build
@@ -98,7 +94,7 @@ jobs:
9894
url: https://pypi.org/p/git-diff
9995

10096
permissions:
101-
id-token: write # OIDC no username/password/token needed
97+
id-token: write
10298

10399
steps:
104100
- name: Download artifacts
@@ -109,5 +105,3 @@ jobs:
109105

110106
- name: Publish to PyPI via trusted publisher
111107
uses: pypa/gh-action-pypi-publish@release/v1
112-
# Zero config needed when using OIDC trusted publisher
113-
# No username, no password, no API token just works ✅

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ This project uses [Semantic Versioning](https://semver.org/).
77

88
---
99

10+
## [0.1.4] 2026-05-13
11+
12+
Fix footer and header
13+
---
14+
1015
## [0.1.3] 2026-05-13
1116

1217
### Added

git_diff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""git-diff -- Beautiful git viewer in your browser. Like GitHub, but local."""
22

3-
__version__ = "0.1.3"
3+
__version__ = "0.1.4"
44
__author__ = "Ankit Chaubey"
55
__email__ = "ankitchaubey.dev@gmail.com"
66
__url__ = "https://github.com/ankit-chaubey/git-diff"

git_diff/templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
</svg>
433433
git-diff
434434
</div>
435-
<span class="topbar-version">v0.1.2</span>
435+
<span class="topbar-version">v0.1.4</span>
436436
<div class="topbar-pill" id="topbarRepo">Loading…</div>
437437
<div class="topbar-branch" id="topbarBranch">
438438
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><circle cx="18" cy="6" r="3"/><line x1="6" y1="9" x2="6" y2="15"/><path d="M18 9c0 3.866-2.686 7-6 9"/></svg>
@@ -488,7 +488,7 @@
488488
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="color:var(--add-text)"><circle cx="12" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><circle cx="18" cy="6" r="3"/><line x1="6" y1="9" x2="6" y2="15"/><path d="M18 9c0 3.866-2.686 7-6 9"/></svg>
489489
<a href="https://github.com/ankit-chaubey/git-diff" target="_blank" rel="noopener" style="font-weight:700;color:var(--text2)">git-diff</a>
490490
<span class="footer-sep">·</span>
491-
<span class="version-badge">v0.1.2</span>
491+
<span class="version-badge">v0.1.4</span>
492492
<span class="footer-sep">·</span>
493493
<span class="footer-copy">
494494
<span class="copy-sym">©</span>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "git-diff"
7-
version = "0.1.3"
7+
version = "0.1.4"
88
description = "Beautiful git viewer in your browser like GitHub, but local. Diffs, history, blame, compare branches/SHAs, contributors, and more."
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)