Skip to content

Commit

Permalink
[changelog] Post-release version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jul 6, 2023
1 parent d2fad92 commit 2640594
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 32 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
format-python:
name: Format Python
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Install ruff, black, blacken-docs, autopep8 and docformatter
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Run Ruff
# --select=ALL - Autofix everything.
# Includes rules in the nursery, a collection of newer lints that are still under development.
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Install mdformat
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Install shfmt
run: |
sudo apt install --yes shfmt
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: ${{ matrix.part }} version bump
run: |
bump-my-version bump --verbose ${{ matrix.part }}
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Extract version
id: get_version
run: |
Expand All @@ -123,7 +123,7 @@ jobs:
#
# [[tool.bumpversion.files]]
# filename = ".github/workflows/*.yaml"
# search = "/workflows/v2.17.5/"
# search = "/workflows/main/"
# replace = "/workflows/v{current_version}/"
#
# $ bump-my-version --verbose --force-current-version .github/workflows/*.yaml
Expand All @@ -136,7 +136,7 @@ jobs:
# $ bump-my-version
# bump
# --verbose --no-configured-files
# --search "/workflows/v2.17.5/"
# --search "/workflows/main/"
# --replace "/workflows/v{current_version}/"
# --ignore-missing
# patch
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
# [[tool.bumpversion.files]]
# filename = ".github/workflows/*.yaml"
# search = "/workflows/v{current_version}/"
# replace = "/workflows/v2.17.5/"
# replace = "/workflows/main/"
#
# $ bump-my-version --verbose --force-current-version .github/workflows/*.yaml
#
Expand All @@ -208,7 +208,7 @@ jobs:
# bump
# --verbose --no-configured-files
# --search "/workflows/v{current_version}/"
# --replace "/workflows/v2.17.5/"
# --replace "/workflows/main/"
# --ignore-missing
# patch
# ./.github/workflows/*.yaml
Expand All @@ -223,7 +223,7 @@ jobs:
- name: Add new changelog entry
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/update_changelog.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_changelog.py)"
- name: Version bump
run: |
bump-my-version bump --verbose patch
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Generate .mailmap
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/update_mailmap.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_mailmap.py)"
- uses: peter-evans/[email protected]
with:
assignees: ${{ github.actor }}
Expand Down Expand Up @@ -158,14 +158,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
update-deps-graph:
name: Update dependency graph
Expand All @@ -184,7 +184,7 @@ jobs:
- name: Install pinned pipdeptree on system
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Install project with Poetry
run: |
poetry install --only main --no-interaction
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Install project dependencies
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Install project dependencies
# Let sphinx-click access project's code to generate CLI help.
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeller-file-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Download default rules
run: >
curl -fsSL --output ./.github/labeller-file-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/labeller-file-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-file-based.yaml
- name: Extend default rules
if: inputs.extra-rules
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
skip_delete: true
from: |
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/labels.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels.yaml
${{ inputs.extra-label-files }}
${{ startsWith(github.event.repository.name, 'awesome-') &&
'https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/labels-awesome.yaml' || '' }}
'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' || '' }}
10 changes: 5 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
lint-python:
needs:
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Install Ruff
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Run Ruff
# Runs with the default set of rules. Trust ruff to select a sensible subset.
run: >
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Install Poetry and Mypy
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Install project with Poetry
# Install project with Poetry if supported, so we can benefits from dependencies on typing stubs.
if: fromJSON(needs.project-metadata.outputs.is_poetry_project)
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Install yamllint
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Run yamllint
run: |
yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
poetry-build:
name: "Poetry: build & check package"
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Install poetry, twine and check-wheel-contents
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Build package
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -129,15 +129,15 @@ jobs:
- name: Install poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Re-install Nuitka in Poetry venv
# Nuitka needs to be installed within Poetry's venv to allow for lots of workarounds.
# Additional dependencies:
# - ordered-set: used by Nuitka for compilation performance
# - zstandard: for nuitka's onefile compression
run: >
poetry run python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Nuitka + compilers versions
run: |
poetry run python -m nuitka --version
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v2.17.5/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: Extract version
id: get_version
run: |
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [2.17.6 (unreleased)](https:/kdeldycke/workflows/compare/v2.17.5...main)

```{important}
This version is not released yet and is under active development.
```

## [2.17.5 (2023-07-01)](https:/kdeldycke/workflows/compare/v2.17.4...v2.17.5)

- Use bump-my-version `v0.6.0` to fetch current version.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "2.17.5"
current_version = "2.17.6"
allow_dirty = true

[[tool.bumpversion.files]]
Expand Down

0 comments on commit 2640594

Please sign in to comment.