diff --git a/.github/workflows/_reusable-package-release.yml b/.github/workflows/_reusable-package-release.yml index b968566f..e18be881 100644 --- a/.github/workflows/_reusable-package-release.yml +++ b/.github/workflows/_reusable-package-release.yml @@ -96,7 +96,7 @@ jobs: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.1 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.2 with: release-level: ${{ inputs.release-level }} previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} @@ -126,7 +126,7 @@ jobs: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.1 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.2 with: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} diff --git a/.github/workflows/_reusable-package-testpypi.yml b/.github/workflows/_reusable-package-testpypi.yml index 08e97718..8dc916be 100644 --- a/.github/workflows/_reusable-package-testpypi.yml +++ b/.github/workflows/_reusable-package-testpypi.yml @@ -33,7 +33,7 @@ jobs: with: package-name: ${{ inputs.package-name }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.1 + uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.2 id: create-version with: package-name: ${{ inputs.package-name }} diff --git a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml index 16ee7272..453b30b7 100644 --- a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml @@ -93,7 +93,7 @@ jobs: pre-commit-hook-skip-list: ${{ inputs.pre-commit-hook-skip-list }} export-dependency-groups: ${{ inputs.export-dependency-groups }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.1 + uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.2 with: dependency-dict: ${{ inputs.dependency-dict }} update-pre-commit: ${{ inputs.update-pre-commit }} diff --git a/CHANGELOG.md b/CHANGELOG.md index f20f3a4e..a22fe99f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,14 @@ Valid subsections within a version are: Things to be included in the next release go here. +--- + +## v1.0.2 (2024-08-27) + +### Merged Pull Requests + +- Update build script to properly add changed files to git during the release process ([#21](https://github.com/tektronix/python-package-ci-cd/pull/21)) + ### Fixed - Actually fixed the issue with the semantic-release configuration preventing updated files with each new release version from being properly updated in the repo as a part of the release. diff --git a/actions/create_unique_testpypi_version/readme.md b/actions/create_unique_testpypi_version/readme.md index 488ce826..21423149 100644 --- a/actions/create_unique_testpypi_version/readme.md +++ b/actions/create_unique_testpypi_version/readme.md @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.1 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.2 id: create-version with: package-name: my-package # required diff --git a/actions/find_unreleased_changelog_items/readme.md b/actions/find_unreleased_changelog_items/readme.md index 382fbec6..8f31a883 100644 --- a/actions/find_unreleased_changelog_items/readme.md +++ b/actions/find_unreleased_changelog_items/readme.md @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.1 + - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.2 with: release-level: ${{ inputs.release-level }} # optional previous-changelog-filepath: .previous_changelog_for_template.md # optional diff --git a/actions/update_development_dependencies/readme.md b/actions/update_development_dependencies/readme.md index 56664f3d..960464c0 100644 --- a/actions/update_development_dependencies/readme.md +++ b/actions/update_development_dependencies/readme.md @@ -46,7 +46,7 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.checkout-token }} - - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.1 + - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.2 with: repo-root: . # optional, defaults to the current working directory install-dependencies: false # optional, this will almost never need to be set to true diff --git a/pyproject.toml b/pyproject.toml index 5cafb4d5..3463b80b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ wrap-summaries = 0 [tool.poetry] package-mode = false -version = "1.0.1" +version = "1.0.2" [tool.poetry.dependencies] python = "~3.12" diff --git a/workflows/codeql-analysis.md b/workflows/codeql-analysis.md index 16b13050..53e3915e 100644 --- a/workflows/codeql-analysis.md +++ b/workflows/codeql-analysis.md @@ -43,7 +43,7 @@ on: branches: [main] jobs: analyze: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.0.2 with: languages-array: '["python", "javascript"]' codeql-queries: security-extended,security-and-quality diff --git a/workflows/enforce-community-standards.md b/workflows/enforce-community-standards.md index dbe6b470..8ea2d91e 100644 --- a/workflows/enforce-community-standards.md +++ b/workflows/enforce-community-standards.md @@ -44,7 +44,7 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.0.2 ``` [workflow-file]: ../.github/workflows/_reusable-enforce-community-standards.yml diff --git a/workflows/package-build.md b/workflows/package-build.md index 2f7d42cc..5b16a157 100644 --- a/workflows/package-build.md +++ b/workflows/package-build.md @@ -59,7 +59,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: package-build: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.0.2 with: package-name: my_package # required python-versions-array: '["3.9", "3.10", "3.11", "3.12"]' # required diff --git a/workflows/package-release.md b/workflows/package-release.md index e1c17abc..b383a3fd 100644 --- a/workflows/package-release.md +++ b/workflows/package-release.md @@ -107,7 +107,7 @@ concurrency: # This concurrency is not required, but can be added if extra cont group: pypi jobs: package-release: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.0.2 with: package-name: my-package # required repo-name: owner/my-package # required diff --git a/workflows/package-testpypi.md b/workflows/package-testpypi.md index 869abd87..7018c2c3 100644 --- a/workflows/package-testpypi.md +++ b/workflows/package-testpypi.md @@ -58,7 +58,7 @@ concurrency: # This concurrency is not required, but can be added if extra cont group: pypi jobs: package-testpypi: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.0.2 with: package-name: my-package # required repo-name: owner/my-package # required diff --git a/workflows/publish-api-comparison.md b/workflows/publish-api-comparison.md index 338f197f..4caa4a63 100644 --- a/workflows/publish-api-comparison.md +++ b/workflows/publish-api-comparison.md @@ -45,7 +45,7 @@ on: types: [completed] jobs: publish-api-comparison: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.0.2 permissions: checks: write pull-requests: write diff --git a/workflows/publish-test-results.md b/workflows/publish-test-results.md index b4992587..606e213c 100644 --- a/workflows/publish-test-results.md +++ b/workflows/publish-test-results.md @@ -55,7 +55,7 @@ on: types: [completed] jobs: publish-test-results: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.0.2 with: operating-systems-array: '["ubuntu", "windows", "macos"]' # required permissions: diff --git a/workflows/sbom-scan.md b/workflows/sbom-scan.md index 46ee24d9..f47fef04 100644 --- a/workflows/sbom-scan.md +++ b/workflows/sbom-scan.md @@ -51,7 +51,7 @@ on: types: [published] jobs: sbom-scan: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.0.2 permissions: security-events: write contents: write diff --git a/workflows/test-code.md b/workflows/test-code.md index 7d727b16..4f8c5cbb 100644 --- a/workflows/test-code.md +++ b/workflows/test-code.md @@ -134,7 +134,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: test-code: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.0.2 with: repo-name: owner/repo # required operating-systems-array: '["ubuntu", "windows", "macos"]' # optional diff --git a/workflows/test-docs.md b/workflows/test-docs.md index 921895de..0c596b8a 100644 --- a/workflows/test-docs.md +++ b/workflows/test-docs.md @@ -89,7 +89,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: test-docs: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.0.2 with: node-version: 20 # required python-version: '3.11' # required diff --git a/workflows/update-python-and-pre-commit-dependencies.md b/workflows/update-python-and-pre-commit-dependencies.md index beec55f2..77cd7476 100644 --- a/workflows/update-python-and-pre-commit-dependencies.md +++ b/workflows/update-python-and-pre-commit-dependencies.md @@ -56,7 +56,7 @@ on: branches: [main] jobs: update-python-and-pre-commit-dependencies: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.0.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.0.2 with: commit-user-name: 'User Name' commit-user-email: 'user-email'