Skip to content

Commit

Permalink
Release v2.5.1 - Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
TEAM4-0 committed Aug 30, 2023
1 parent cd79149 commit 1e361d5
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
if [ -n "${{ inputs.build_libs }}" ]; then
pip install ${{ inputs.build_libs }}
fi
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.0
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.1
- name: Parse changelog configuration
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd_updated_default_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
python -m pip install --upgrade pip
pip install -U setuptools wheel
pip install ${EDITABLE}.${{ inputs.doc_extras }}
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.0
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.1
- name: Set up git user
if: env.RELEASE_RUN == 'false'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_check_pyproject_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
python -m pip install -U pip
pip install -U setuptools wheel
pip install .${{ inputs.install_extras }}
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.0
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.1
- name: Set up git user
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ jobs:
python -m pip install -U pip
pip install -U setuptools wheel
pip install ${EDITABLE}.${{ inputs.install_extras }}
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.0
pip install git+https://github.com/SINTEF/ci-cd.git@v2.5.1
- name: Update API Reference
if: env.framework == 'mkdocs' && inputs.update_python_api_ref
Expand Down
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,32 @@

## [Unreleased](https://github.com/SINTEF/ci-cd/tree/HEAD)

[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.5.0...HEAD)
[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.5.1...HEAD)

**Fixed bugs:**

- `pylint_options` not working as intended [\#169](https://github.com/SINTEF/ci-cd/issues/169)
- Regression in `--full-docs-dir` input [\#174](https://github.com/SINTEF/ci-cd/issues/174)

## [v2.5.1](https://github.com/SINTEF/ci-cd/tree/v2.5.1) (2023-08-30)

[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.5.0...v2.5.1)

**Fixed bugs:**

- Too strict release tag name requirements [\#172](https://github.com/SINTEF/ci-cd/issues/172)

**Merged pull requests:**

- Fix --full-docs-dir regression [\#175](https://github.com/SINTEF/ci-cd/pull/175) ([CasperWA](https://github.com/CasperWA))
- Remove requirement for release to start with 'v' [\#173](https://github.com/SINTEF/ci-cd/pull/173) ([CasperWA](https://github.com/CasperWA))

## [v2.5.0](https://github.com/SINTEF/ci-cd/tree/v2.5.0) (2023-08-29)

[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.4.0...v2.5.0)

**Fixed bugs:**

- `pylint_options` not working as intended [\#169](https://github.com/SINTEF/ci-cd/issues/169)
- Pre-commit for documentation not working on windows [\#160](https://github.com/SINTEF/ci-cd/issues/160)

**Merged pull requests:**
Expand Down
2 changes: 1 addition & 1 deletion ci_cd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""CI/CD Tools. Tiny package to run invoke tasks as a standalone program."""
__version__ = "2.5.0"
__version__ = "2.5.1"
__author__ = "Casper Welzel Andersen"
__author_email__ = "casper.w.andersen@sintef.no"
2 changes: 1 addition & 1 deletion docs/hooks/docs_api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ It is meant to be complete as is.
```yaml
repos:
- repo: https://github.com/SINTEF/ci-cd
rev: v2.5.0
rev: v2.5.1
hooks:
- id: docs-api-reference
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/docs_landing_page.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It is meant to be complete as is.
```yaml
repos:
- repo: https://github.com/SINTEF/ci-cd
rev: v2.5.0
rev: v2.5.1
hooks:
- id: docs-landing-page
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/update_pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ It is meant to be complete as is.
```yaml
repos:
- repo: https://github.com/SINTEF/ci-cd
rev: v2.5.0
rev: v2.5.1
hooks:
- id: update-pyproject
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CI/CD tools

**Current version to use:** `v2.5.0`
**Current version to use:** `v2.5.1`

Use tried and tested continuous integration (CI) and continuous deployment (CD) tools from this repository.

Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/cd_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ See the [proper section](../hooks/docs_api_reference.md#using-it-together-with-c
The content of repository files can be updated to use the new version where necessary.
This is done through the `version_update_changes` (and `version_update_changes_separator`) inputs.

To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.5.0/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow.
To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.5.1/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow.

Some notes to consider and respect when using `version_update_changes` are:

Expand Down Expand Up @@ -133,7 +133,7 @@ on:
jobs:
publish:
name: Publish package and documentation
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.5.1
if: github.repository == 'SINTEF/my-python-package' && startsWith(github.ref, 'refs/tags/v')
with:
git_username: "Casper Welzel Andersen"
Expand Down
6 changes: 3 additions & 3 deletions docs/workflows/ci_automerge_prs.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ on:
jobs:
update-dependency-branch:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.5.1
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) )
secrets:
PAT: ${{ secrets.RELEASE_PAT }}
Expand All @@ -76,7 +76,7 @@ on:
jobs:
update-dependency-branch:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.5.1
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) )
with:
perform_changes: true
Expand All @@ -100,7 +100,7 @@ on:
jobs:
update-dependency-branch:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.5.1
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) )
with:
perform_changes: true
Expand Down
2 changes: 1 addition & 1 deletion docs/workflows/ci_cd_updated_default_branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ on:
jobs:
updates-to-stable:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.5.1
if: github.repository_owner == 'SINTEF'
with:
git_username: "Casper Welzel Andersen"
Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/ci_check_pyproject_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Here is an example of different lines given as value for the `ignore` option tha
# ...
jobs:
check-dependencies:
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.5.1
with:
# ...
# For Sphinx, ignore all updates for/from version 4.5.0 and up / keep the minimum version for Sphinx at 4.5.0.
Expand Down Expand Up @@ -88,7 +88,7 @@ on:
jobs:
check-dependencies:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.5.1
if: github.repository_owner == 'SINTEF'
with:
git_username: "Casper Welzel Andersen"
Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/ci_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ on:
jobs:
tests:
name: Run basic tests
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.5.1
with:
python_version_pylint_safety: "3.8"
python_version_docs: "3.7"
Expand Down Expand Up @@ -191,7 +191,7 @@ on:
jobs:
tests:
name: Run basic tests
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.5.1
with:
python_version_pylint_safety: "3.8"
python_version_docs: "3.7"
Expand Down
2 changes: 1 addition & 1 deletion docs/workflows/ci_update_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ on:
jobs:
check-dependencies:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.5.0
uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.5.1
if: github.repository_owner == 'SINTEF'
with:
git_username: "Casper Welzel Andersen"
Expand Down

0 comments on commit 1e361d5

Please sign in to comment.