File tree 4 files changed +31
-8
lines changed
4 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 57
57
prod-status :
58
58
required : true
59
59
type : string
60
+ beta-status :
61
+ required : true
62
+ type : string
60
63
61
64
jobs :
62
65
check-status :
63
66
runs-on : ubuntu-latest
64
67
steps :
65
68
- name : Verify workflow status
66
69
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
68
71
echo "::error::Release workflow failed"
69
72
exit 1
70
73
fi
71
74
72
75
if [[ "${{ inputs.version }}" =~ -rc ]]; then
73
76
echo "Release candidate ${{ inputs.version }} processed successfully"
77
+ elif [[ "${{ inputs.version }}" =~ b[0-9]+ ]]; then
78
+ echo "Beta release ${{ inputs.version }} processed successfully"
74
79
else
75
80
echo "Production release ${{ inputs.version }} completed successfully"
76
81
fi
Original file line number Diff line number Diff line change 50
50
tags :
51
51
- " v*.*.*"
52
52
- " v*.*.*-rc*"
53
+ - " v*.*.*b*"
53
54
workflow_dispatch :
54
55
inputs :
55
56
version :
86
87
87
88
production-release-process :
88
89
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')
90
101
uses : ./.github/workflows/_reusable-production-release-process.yaml
91
102
with :
92
103
version : ${{ needs.validation.outputs.version }}
@@ -95,10 +106,17 @@ jobs:
95
106
pypi-token : ${{ secrets.PYPI_TOKEN }}
96
107
97
108
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
+ ]
99
116
if : always() && !inputs.dry_run
100
117
uses : ./.github/workflows/_reusable-release-status.yaml
101
118
with :
102
119
version : ${{ needs.validation.outputs.version }}
103
120
rc-status : ${{ needs.rc-release-process.result }}
104
121
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 40
40
>
41
41
> 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 )
42
42
>
43
- > Install beta: ` pip install anomalib==2.0.0-beta.1 `
43
+ > Install beta: ` pip install anomalib==2.0.0b2 `
44
44
45
45
# 👋 Introduction
46
46
@@ -72,16 +72,16 @@ pip install anomalib
72
72
pip install anomalib[full]
73
73
```
74
74
75
- ## 🌟 Beta Version (v2.0.0-beta.1 )
75
+ ## 🌟 Beta Version (v2.0.0b2 )
76
76
77
77
Try our latest beta release with new features and improvements:
78
78
79
79
``` bash
80
80
# Basic beta installation
81
- pip install anomalib==2.0.0-beta.1
81
+ pip install anomalib==2.0.0b2
82
82
83
83
# Full beta installation with all dependencies
84
- pip install anomalib[full]==2.0.0-beta.1
84
+ pip install anomalib[full]==2.0.0b2
85
85
```
86
86
87
87
### 🛠️ Installation Options
Original file line number Diff line number Diff line change 34
34
35
35
from enum import Enum
36
36
37
- __version__ = "2.0.0-beta.1 "
37
+ __version__ = "2.0.0b2 "
38
38
39
39
40
40
class LearningType (str , Enum ):
You can’t perform that action at this time.
0 commit comments