From 84fefd35a04630bea8023feb353adbcc5d26190b Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Mon, 3 Jan 2022 16:02:24 +0000 Subject: [PATCH] [changelog] Release v0.4.3 --- .github/workflows/autofix.yaml | 4 ++-- .github/workflows/changelog.yaml | 4 ++-- .github/workflows/docs.yaml | 2 +- .github/workflows/lint.yaml | 4 ++-- .github/workflows/release.yaml | 4 ++-- changelog.md | 6 +----- 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index eb3b8ac92..21e47bd32 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -20,7 +20,7 @@ jobs: - name: Install Black and isort run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: Run isort run: | isort . @@ -56,7 +56,7 @@ jobs: - name: Install mdformat run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: Auto-format Markdown run: | find ./ -iname "*.md" -exec mdformat --wrap 79 "{}" \; diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 3056953f0..f5036b11c 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -34,7 +34,7 @@ jobs: - name: Install bumpversion run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: ${{ matrix.part }} version bump run: | bumpversion --verbose ${{ matrix.part }} @@ -85,7 +85,7 @@ jobs: - name: Install bumpversion run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: Extract current version id: get_version # Docs: https://docs.github.com/en/actions/learn-github-actions diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8c69b6a8f..8a061f2ae 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -75,7 +75,7 @@ jobs: - name: Generate .mailmap run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_mailmap.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/.github/update_mailmap.py)" - uses: peter-evans/create-pull-request@v3.12.0 with: assignees: ${{ github.actor }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 92e54583e..54d8e585d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -32,7 +32,7 @@ jobs: - name: Install Pylint run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: Run Pylint if: hashFiles('**/*.py') # Docs: @@ -76,7 +76,7 @@ jobs: - name: Install yamllint run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: Run yamllint run: | yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github . diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 858184285..337ae63a0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -57,7 +57,7 @@ jobs: - name: Install bumpversion run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/requirements.txt - name: Re-target main branch in workflows run: > DEFAULT_BRANCH="main" && bumpversion --verbose --no-configured-files @@ -69,7 +69,7 @@ jobs: - name: Add new changelog entry run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_changelog.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v0.4.3/.github/update_changelog.py)" - name: Version bump run: | bumpversion --verbose patch diff --git a/changelog.md b/changelog.md index 714a41974..9cb9e28e6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,10 +1,6 @@ # Changelog -## [0.4.3 (unreleased)](https://github.com/kdeldycke/workflows/compare/v0.4.2...main) - -```{{important}} -This version is not released yet and is under active development. -``` +## [0.4.3 (2022-01-03)](https://github.com/kdeldycke/workflows/compare/v0.4.2...v0.4.3) - Only match first occurence of triple-backticks delimited block text in `changelog.md` in `prepare-release` job. Also matches empty line within the block. - Make GitHub changelog URL update more forgiving.