generated from ai-cfia/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from ai-cfia/63-as-a-contributor-id-like-to-ha…
…ve-the-packaging-workflow-documented Issue #63: Document release workflow
- Loading branch information
Showing
2 changed files
with
23 additions
and
4 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# fertiscan-pipeline | ||
|
||
This repository contains the core analysis pipeline for FertiScan. | ||
It is designed to be used as a standalone Python package that can | ||
be integrated with other projects, such as the [fertiscan-backend](https://github.com/ai-cfia/fertiscan-backend). | ||
This repository contains the core analysis pipeline for FertiScan. It is | ||
designed to be used as a standalone Python package that can be integrated with | ||
other projects, such as the | ||
[fertiscan-backend](https://github.com/ai-cfia/fertiscan-backend). | ||
|
||
## Setup for Development | ||
|
||
|
@@ -50,3 +51,21 @@ AZURE_OPENAI_API_ENDPOINT=your_azure_openai_endpoint | |
AZURE_OPENAI_API_KEY=your_azure_openai_key | ||
AZURE_OPENAI_DEPLOYMENT=your_azure_openai_deployment | ||
``` | ||
|
||
## Packaging and release workflow | ||
|
||
The pipeline triggers on PRs to check code quality, markdown, repository | ||
standards, and ensures that the version in `pyproject.toml` is bumped. When a PR | ||
is merged, the workflow automatically creates a release based on the version in | ||
`pyproject.toml`. The latest releases and changelogs are available | ||
[here](https://github.com/ai-cfia/fertiscan-pipeline/releases). | ||
|
||
To use this package in other projects, add it to your `requirements.txt` (e.g., | ||
in the [fertiscan-backend](https://github.com/ai-cfia/fertiscan-backend)): | ||
|
||
```sh | ||
git+https://github.com/ai-cfia/[email protected] | ||
``` | ||
|
||
Where `vX.X.X` is the version from the [release | ||
page](https://github.com/ai-cfia/fertiscan-pipeline/releases). |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "fertiscan_pipeline" | ||
version = "0.0.2" | ||
version = "0.0.3" | ||
description = "A pipeline for the FertiScan project" | ||
authors = [ | ||
{ name = "Albert Bryan Ndjeutcha", email = "[email protected]" } | ||
|