Skip to content

Commit 0abc994

Browse files
committed
PEP supported beta naming convention
Signed-off-by: Samet Akcay <[email protected]>
1 parent 01edd99 commit 0abc994

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/_reusable-release-status.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
if [[ "${{ inputs.version }}" =~ -rc ]]; then
7676
echo "Release candidate ${{ inputs.version }} processed successfully"
77-
elif [[ "${{ inputs.version }}" =~ -beta ]]; then
77+
elif [[ "${{ inputs.version }}" =~ b[0-9]+ ]]; then
7878
echo "Beta release ${{ inputs.version }} processed successfully"
7979
else
8080
echo "Production release ${{ inputs.version }} completed successfully"

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ on:
5050
tags:
5151
- "v*.*.*"
5252
- "v*.*.*-rc*"
53-
- "v*.*.*-beta*"
53+
- "v*.*.*b*"
5454
workflow_dispatch:
5555
inputs:
5656
version:
@@ -87,7 +87,7 @@ jobs:
8787

8888
production-release-process:
8989
needs: [validation]
90-
if: ${{ !contains(needs.validation.outputs.version, '-rc') && !contains(needs.validation.outputs.version, '-beta') }}
90+
if: ${{ !contains(needs.validation.outputs.version, '-rc') && !contains(needs.validation.outputs.version, 'b') }}
9191
uses: ./.github/workflows/_reusable-production-release-process.yaml
9292
with:
9393
version: ${{ needs.validation.outputs.version }}
@@ -97,7 +97,7 @@ jobs:
9797

9898
beta-release-process:
9999
needs: [validation]
100-
if: contains(needs.validation.outputs.version, '-beta')
100+
if: contains(needs.validation.outputs.version, 'b')
101101
uses: ./.github/workflows/_reusable-production-release-process.yaml
102102
with:
103103
version: ${{ needs.validation.outputs.version }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
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
7272
pip install anomalib[full]
7373
```
7474

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

7777
Try 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

src/anomalib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
from enum import Enum
3636

37-
__version__ = "2.0.0-beta.1"
37+
__version__ = "2.0.0b2"
3838

3939

4040
class LearningType(str, Enum):

0 commit comments

Comments
 (0)