-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: implement semantic versioning forces conventional commit messaging via pre-commit hook. also implements automatic semantic releases via GH action. * chore: remove codespell cant commit because failing spelling errors * chore: lint and format also testing pre-commit hooks for ruff, black, isort and conventional commits. * David/dynamic ogc features (#298) * Implement the ability to define remote OGC Features endpoint definitions - present motivation is only to specify class hierarchy "above" the point at which the OGC Features API is mounted. * Formatting * temporarily disable arm build in github action * chore: lint and format also testing pre-commit hooks for ruff, black, isort and conventional commits. * docs: update the readme --------- Co-authored-by: David Habgood <dcchabgood@gmail.com>
- Loading branch information
1 parent
ea8a61b
commit 45ad323
Showing
49 changed files
with
739 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Continuous Delivery | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
concurrency: release | ||
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
|
||
steps: | ||
# Note: we need to checkout the repository at the workflow sha in case during the workflow | ||
# the branch was updated. To keep PSR working with the configured release branches, | ||
# we force a checkout of the desired release branch but at the workflow sha HEAD. | ||
- name: Setup | Checkout Repository at workflow sha | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.sha }} | ||
|
||
- name: Setup | Force correct release branch on workflow sha | ||
run: | | ||
git checkout -B ${{ github.ref_name }} ${{ github.sha }} | ||
- name: Action | Semantic Version Release | ||
id: release | ||
# Adjust tag with desired version if applicable. | ||
uses: python-semantic-release/python-semantic-release@v9.11.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
git_committer_name: "github-actions" | ||
git_committer_email: "actions@users.noreply.github.com" | ||
|
||
- name: Publish | Upload to GitHub Release Assets | ||
uses: python-semantic-release/publish-action@v9.8.9 | ||
if: steps.release.outputs.released == 'true' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ steps.release.outputs.tag }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.