Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,26 @@ jobs:
cd /tmp/tap
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

BRANCH="update-dualentry-$VERSION"
git checkout -b "$BRANCH"
git add Formula/dualentry.rb
git commit -m "Update dualentry to $VERSION"
git push
git push origin "$BRANCH"

# main is a protected branch on the tap repo (PR required), so push a
# branch and PR it instead of pushing straight to main.
export GH_TOKEN="$TAP_TOKEN"
PR_URL=$(gh pr create --repo dualentry/homebrew-tap \
--title "Update dualentry to $VERSION" \
--body "Automated formula update for dualentry $VERSION." \
--head "$BRANCH" --base main)
echo "Opened $PR_URL"

if gh pr merge --repo dualentry/homebrew-tap "$BRANCH" --squash --delete-branch; then
echo "Merged $PR_URL"
elif gh pr merge --repo dualentry/homebrew-tap "$BRANCH" --auto --squash --delete-branch; then
echo "Enabled auto-merge for $PR_URL"
else
echo "::warning::Could not merge or enable auto-merge for $PR_URL — merge it manually."
fi
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [0.1.18] - 2026-09-01


## [0.1.17] - 2026-04-15


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dualentry-cli"
version = "0.1.17"
version = "0.1.18"
description = "DualEntry accounting CLI"
requires-python = ">=3.11"
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion src/dualentry_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""DualEntry CLI - command-line interface for DualEntry accounting."""

__version__ = "0.1.17"
__version__ = "0.1.18"
USER_AGENT = f"dualentry-cli/{__version__}"
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading