Skip to content

Commit 2b73292

Browse files
authored
Merge pull request #346 from capocchi/version-5.1
Version 5.1
2 parents bd0bada + 12831c7 commit 2b73292

3 files changed

Lines changed: 36 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*" # Déclenche l'action uniquement sur les tags de version
7+
8+
jobs:
9+
deploy:
10+
name: Build and Publish
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: "3.11"
21+
22+
- name: Install build dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install build twine
26+
27+
- name: Build package
28+
run: python -m build
29+
30+
- name: Publish to PyPI
31+
env:
32+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
33+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
34+
run: twine upload dist/*

devsimpy/devsimpy-nogui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#
3131
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
3232

33-
__version__ = '5.0'
33+
__version__ = '5.1'
3434

3535
def serialize_date(obj):
3636
if isinstance(obj, date):

devsimpy/devsimpy.py

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

5959
__authors__ = "Laurent Capocchi <capocchi@univ-corse.fr>, <santucci@univ-corse.fr>"
6060
__date__ = str(datetime.datetime.now())
61-
__version__ = '5.0'
61+
__version__ = '5.1'
6262
__docformat__ = 'epytext'
6363
__min_wx_version__ = '4.0'
6464

0 commit comments

Comments
 (0)