diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e932574..88a38f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - name: Action | Semantic Version Release id: release # Adjust tag with desired version if applicable. - uses: python-semantic-release/python-semantic-release@350c48fcb3ffcdfd2e0a235206bc2ecea6b69df0 # v10.5.3 + uses: python-semantic-release/python-semantic-release@39dd2052f2ce8282a5d932c31d58a2ca06d2550e # v10.6.1 with: github_token: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }} git_committer_name: "github-actions" @@ -47,7 +47,7 @@ jobs: directory: './backend-plugin-sample' - name: Publish | Upload to GitHub Release Assets - uses: python-semantic-release/publish-action@310a9983a0ae878b29f3aac778d7c77c1db27378 # v10.5.3 + uses: python-semantic-release/publish-action@5a5718ce47b892ef699f2972dae122297771d641 # v10.6.1 if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }} diff --git a/backend-plugin-sample/pyproject.toml b/backend-plugin-sample/pyproject.toml index 8052979..d139be7 100644 --- a/backend-plugin-sample/pyproject.toml +++ b/backend-plugin-sample/pyproject.toml @@ -114,6 +114,9 @@ build_command = "pip install build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSIO # Because this repo is meant to be an example, docs changes are relevant # feature changes and so should produces new releases. minor_tags = ["feat", "docs"] +# If we change the build system, we want to publish it so that updates to the +# build and release system are validated close to when they are merged. +patch_tags = ["fix", "perf", "build"] [tool.setuptools_scm] # The root for the gith repo is one directory up.