File tree Expand file tree Collapse file tree 4 files changed +31
-8
lines changed
Expand file tree Collapse file tree 4 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 5757 prod-status :
5858 required : true
5959 type : string
60+ beta-status :
61+ required : true
62+ type : string
6063
6164jobs :
6265 check-status :
6366 runs-on : ubuntu-latest
6467 steps :
6568 - name : Verify workflow status
6669 run : |
67- if [[ "${{ inputs.rc-status }}" == "failure" || "${{ inputs.prod-status }}" == "failure" ]]; then
70+ if [[ "${{ inputs.rc-status }}" == "failure" || "${{ inputs.prod-status }}" == "failure" || "${{ inputs.beta-status }}" == "failure" ]]; then
6871 echo "::error::Release workflow failed"
6972 exit 1
7073 fi
7174
7275 if [[ "${{ inputs.version }}" =~ -rc ]]; then
7376 echo "Release candidate ${{ inputs.version }} processed successfully"
77+ elif [[ "${{ inputs.version }}" =~ b[0-9]+ ]]; then
78+ echo "Beta release ${{ inputs.version }} processed successfully"
7479 else
7580 echo "Production release ${{ inputs.version }} completed successfully"
7681 fi
Original file line number Diff line number Diff line change 5050 tags :
5151 - " v*.*.*"
5252 - " v*.*.*-rc*"
53+ - " v*.*.*b*"
5354 workflow_dispatch :
5455 inputs :
5556 version :
8687
8788 production-release-process :
8889 needs : [validation]
89- if : ${{ !contains(needs.validation.outputs.version, '-rc') }}
90+ if : ${{ !contains(needs.validation.outputs.version, '-rc') && !contains(needs.validation.outputs.version, 'b') }}
91+ uses : ./.github/workflows/_reusable-production-release-process.yaml
92+ with :
93+ version : ${{ needs.validation.outputs.version }}
94+ artifact-name : ${{ needs.validation.outputs.artifact-name }}
95+ secrets :
96+ pypi-token : ${{ secrets.PYPI_TOKEN }}
97+
98+ beta-release-process :
99+ needs : [validation]
100+ if : contains(needs.validation.outputs.version, 'b')
90101 uses : ./.github/workflows/_reusable-production-release-process.yaml
91102 with :
92103 version : ${{ needs.validation.outputs.version }}
@@ -95,10 +106,17 @@ jobs:
95106 pypi-token : ${{ secrets.PYPI_TOKEN }}
96107
97108 status :
98- needs : [validation, rc-release-process, production-release-process]
109+ needs :
110+ [
111+ validation,
112+ rc-release-process,
113+ production-release-process,
114+ beta-release-process,
115+ ]
99116 if : always() && !inputs.dry_run
100117 uses : ./.github/workflows/_reusable-release-status.yaml
101118 with :
102119 version : ${{ needs.validation.outputs.version }}
103120 rc-status : ${{ needs.rc-release-process.result }}
104121 prod-status : ${{ needs.production-release-process.result }}
122+ beta-status : ${{ needs.beta-release-process.result }}
Original file line number Diff line number Diff line change 4040>
4141> 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 )
4242>
43- > Install beta: ` pip install anomalib==2.0.0-beta.1 `
43+ > Install beta: ` pip install anomalib==2.0.0b2 `
4444
4545# 👋 Introduction
4646
@@ -72,16 +72,16 @@ pip install anomalib
7272pip install anomalib[full]
7373```
7474
75- ## 🌟 Beta Version (v2.0.0-beta.1 )
75+ ## 🌟 Beta Version (v2.0.0b2 )
7676
7777Try our latest beta release with new features and improvements:
7878
7979``` bash
8080# Basic beta installation
81- pip install anomalib==2.0.0-beta.1
81+ pip install anomalib==2.0.0b2
8282
8383# Full beta installation with all dependencies
84- pip install anomalib[full]==2.0.0-beta.1
84+ pip install anomalib[full]==2.0.0b2
8585```
8686
8787### 🛠️ Installation Options
Original file line number Diff line number Diff line change 3434
3535from enum import Enum
3636
37- __version__ = "2.0.0-beta.1 "
37+ __version__ = "2.0.0b2 "
3838
3939
4040class LearningType (str , Enum ):
You can’t perform that action at this time.
0 commit comments