Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.5
current_version = 0.1.6
commit = True
tag = True
message = "Bump version: {current_version} → {new_version} [skip ci]"
Expand Down
31 changes: 8 additions & 23 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,14 @@ jobs:
- name: Build package
run: python setup.py sdist bdist_wheel

- name: Push changes to latest
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: latest

- name: Create pull request to development
id: create_pr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
base: development
branch: latest
title: 'Sync latest with development'
body: 'This PR syncs the latest branch with development to keep versioning in parity.'

- name: Enable auto-merge
uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.create_pr.outputs.pull-request-number }}
merge-method: squash # or 'merge' or 'rebase'
- name: Sync changes with all branches
run: |
git checkout latest
git pull origin latest --rebase
git push origin latest
git checkout development
git merge latest
git push origin development

- name: Publish package
env:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
year = "2025"
author = "Gonzalo Rafuls"
copyright = f"{year}, {author}"
version = release = "0.1.5"
version = release = "0.1.6"

pygments_style = "trac"
templates_path = ["."]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read(*names, **kwargs):

setup(
name="quads-lib",
version="0.1.5",
version="0.1.6",
license="LGPL-3.0-only",
description="Python client library for interacting with the QUADS API",
long_description="{}\n{}".format(
Expand Down
2 changes: 1 addition & 1 deletion src/quads_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.5"
__version__ = "0.1.6"

from .quads import QuadsApi

Expand Down
Loading