Skip to content

Commit

Permalink
chore: enable release-please for API and Assets (#55)
Browse files Browse the repository at this point in the history
## Reason for Change

- related to #4 

## Changes

- add GHA to generate a release when ontology-assets or the API changes.
- add release-please-config.json to release ontology-assets and python
API

## Testing steps
- generated a release using a test branch
#54.

## Notes for Reviewer
Merging this into main will generate a release for the repository with a
tag version tag vX.X.X, a release for ontology-assets with tag
ontology-assets-vY.Y.Y, a release for the python api with version tag
python-api-vZ.Z.Z.
  • Loading branch information
Bento007 authored Feb 26, 2024
2 parents 77916df + a0299a0 commit 9ecda79
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please
jobs:
release-please:
runs-on: [self-hosted, ARM64]
steps:
- name: release please
uses: google-github-actions/[email protected]
id: release
with:
manifest-file: ".release-please-manifest.json"
config-file: "release-please-config.json"
7 changes: 4 additions & 3 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
"api/python": {
"package-name": "python-api"
},
"tools/ontology-builder": {
"package-name": "ontology-builder"
}
"ontology-assets": {
"package-name": "ontology-assets"
},
".": {}
}
}

0 comments on commit 9ecda79

Please sign in to comment.