Valentin Niess преди 7 месеца
родител
ревизия
f049580e2b
променени са 3 файла, в които са добавени 5 реда и са изтрити 10 реда
  1. 3 8
      .github/workflows/pypi.yml
  2. 1 1
      pyproject.toml
  3. 1 1
      python_appimage/version.py

+ 3 - 8
.github/workflows/pypi.yml

@@ -1,15 +1,11 @@
 name: PyPI
 on:
-  push:
-    branches:
-      - master
-    paths:
-      - 'python_appimage/version.py'
   workflow_dispatch:
     inputs:
       upload:
         description: 'Upload to PyPI'
         required: true
+        default: false
         type: boolean
 
 jobs:
@@ -49,9 +45,8 @@ jobs:
 
     - name: Build wheel
       run: |
-        pip install -U pip
-        pip install -U wheel
-        python setup.py bdist_wheel --universal
+        pip install -U pip build
+        python -m build
 
     - name: Upload to PyPI
       if: (github.ref == 'refs/heads/master') && inputs.upload

+ 1 - 1
pyproject.toml

@@ -41,7 +41,7 @@ include = ["python_appimage*"]
 version = {attr = "python_appimage.__version__"}
 
 [tool.bumpversion]
-current_version = "1.4.2"
+current_version = "1.4.3"
 parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
 serialize = ["{major}.{minor}.{patch}"]
 search = "{current_version}"

+ 1 - 1
python_appimage/version.py

@@ -1 +1 @@
-version = '1.4.2'
+version = '1.4.3'