Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 8b1fd14

Browse files
committed
CI/CD: Added github actions workflow to check for a version update
1 parent 7a7adfa commit 8b1fd14

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Check Version Update
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
check-version-update:
9+
name: Check if the version has been updated
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- name: Setup Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.11'
19+
- name: Check version
20+
run: |
21+
pip install packaging
22+
python scripts/check_version.py

flask_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Increment versions here according to SemVer
2-
__version__ = "0.1.0"
2+
__version__ = "0.1.1"
33

44
from flask_utils.errors import ConflictError
55
from flask_utils.errors import ForbiddenError

0 commit comments

Comments
 (0)