Skip to content

Commit 758fd42

Browse files
committed
chore: use single github action for deploy and release
1 parent 9b6a546 commit 758fd42

File tree

5 files changed

+499
-504
lines changed

5 files changed

+499
-504
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,21 @@ jobs:
6262
uses: softprops/action-gh-release@v2
6363
with:
6464
files: dist/*
65+
66+
homebrew:
67+
needs: deploy
68+
runs-on: ubuntu-latest
69+
steps:
70+
- name: Release project to Homebrew tap
71+
uses: Justintime50/homebrew-releaser@v2
72+
with:
73+
homebrew_owner: akopdev
74+
homebrew_tap: homebrew-formulas
75+
github_token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
76+
install: 'virtualenv_install_with_resources'
77+
test: 'assert_match version.to_s, shell_output("#{bin}/nbcat --version")'
78+
commit_owner: akopdev
79+
commit_email: devnull@akop.dev
80+
update_readme_table: true
81+
formula_includes: 'include Language::Python::Virtualenv'
82+
depends_on: '"python@3.13"'

.github/workflows/homebrew.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "nbcat"
3-
version = "0.13.1"
3+
version = "0.13.2"
44
description = "cat for jupyter notebooks"
55
authors = [
66
{ name = "Akop Kesheshyan", email = "devnull@akop.dev" }

src/nbcat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.13.1"
1+
__version__ = "0.13.2"

0 commit comments

Comments
 (0)