Skip to content

Commit

Permalink
Merge branch 'main' into fix-multi-gpu-pp
Browse files Browse the repository at this point in the history
  • Loading branch information
samet-akcay authored Jan 14, 2025
2 parents 1feebc0 + 9a0c755 commit 7d3a8ab
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/_reusable-release-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,25 @@ on:
prod-status:
required: true
type: string
beta-status:
required: true
type: string

jobs:
check-status:
runs-on: ubuntu-latest
steps:
- name: Verify workflow status
run: |
if [[ "${{ inputs.rc-status }}" == "failure" || "${{ inputs.prod-status }}" == "failure" ]]; then
if [[ "${{ inputs.rc-status }}" == "failure" || "${{ inputs.prod-status }}" == "failure" || "${{ inputs.beta-status }}" == "failure" ]]; then
echo "::error::Release workflow failed"
exit 1
fi
if [[ "${{ inputs.version }}" =~ -rc ]]; then
echo "Release candidate ${{ inputs.version }} processed successfully"
elif [[ "${{ inputs.version }}" =~ b[0-9]+ ]]; then
echo "Beta release ${{ inputs.version }} processed successfully"
else
echo "Production release ${{ inputs.version }} completed successfully"
fi
22 changes: 20 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ on:
tags:
- "v*.*.*"
- "v*.*.*-rc*"
- "v*.*.*b*"
workflow_dispatch:
inputs:
version:
Expand Down Expand Up @@ -86,7 +87,17 @@ jobs:

production-release-process:
needs: [validation]
if: ${{ !contains(needs.validation.outputs.version, '-rc') }}
if: ${{ !contains(needs.validation.outputs.version, '-rc') && !contains(needs.validation.outputs.version, 'b') }}
uses: ./.github/workflows/_reusable-production-release-process.yaml
with:
version: ${{ needs.validation.outputs.version }}
artifact-name: ${{ needs.validation.outputs.artifact-name }}
secrets:
pypi-token: ${{ secrets.PYPI_TOKEN }}

beta-release-process:
needs: [validation]
if: contains(needs.validation.outputs.version, 'b')
uses: ./.github/workflows/_reusable-production-release-process.yaml
with:
version: ${{ needs.validation.outputs.version }}
Expand All @@ -95,10 +106,17 @@ jobs:
pypi-token: ${{ secrets.PYPI_TOKEN }}

status:
needs: [validation, rc-release-process, production-release-process]
needs:
[
validation,
rc-release-process,
production-release-process,
beta-release-process,
]
if: always() && !inputs.dry_run
uses: ./.github/workflows/_reusable-release-status.yaml
with:
version: ${{ needs.validation.outputs.version }}
rc-status: ${{ needs.rc-release-process.result }}
prod-status: ${{ needs.production-release-process.result }}
beta-status: ${{ needs.beta-release-process.result }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
>
> We value your input! Please test and share feedback via [GitHub Issues](https://github.com/openvinotoolkit/anomalib/issues) or our [Discussions](https://github.com/openvinotoolkit/anomalib/discussions)
>
> Install beta: `pip install anomalib==2.0.0-beta.1`
> Install beta: `pip install anomalib==2.0.0b2`
# 👋 Introduction

Expand Down Expand Up @@ -72,16 +72,16 @@ pip install anomalib
pip install anomalib[full]
```

## 🌟 Beta Version (v2.0.0-beta.1)
## 🌟 Beta Version (v2.0.0b2)

Try our latest beta release with new features and improvements:

```bash
# Basic beta installation
pip install anomalib==2.0.0-beta.1
pip install anomalib==2.0.0b2

# Full beta installation with all dependencies
pip install anomalib[full]==2.0.0-beta.1
pip install anomalib[full]==2.0.0b2
```

### 🛠️ Installation Options
Expand Down
2 changes: 1 addition & 1 deletion src/anomalib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

from enum import Enum

__version__ = "2.0.0-beta.1"
__version__ = "2.0.0b2"


class LearningType(str, Enum):
Expand Down

0 comments on commit 7d3a8ab

Please sign in to comment.