Skip to content

Commit bbe7737

Browse files
committed
Final changes before PR
1 parent f6ccab8 commit bbe7737

File tree

2 files changed

+3
-30
lines changed

2 files changed

+3
-30
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
if: github.event_name == 'release' || (contains(github.event.pull_request.body, 'deploy please') && github.event_name == 'pull_request')
10+
if: github.event_name == 'release'
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: write
@@ -17,7 +17,6 @@ jobs:
1717
with:
1818
token: ${{ secrets.GITHUB_TOKEN }}
1919
- name: Verify the tag version in the pyproject.toml
20-
if: github.event_name == 'release'
2120
run: grep -q "version = \"${{ github.event.release.tag_name }}\"" pyproject.toml || exit 1
2221
shell: bash
2322
- name: Set Node.js 20.x
@@ -62,30 +61,4 @@ jobs:
6261
user: __token__
6362
password: ${{ secrets.PYPI_TOKEN }}
6463
verify-metadata: false
65-
verbose: true
66-
67-
publish-dev-package:
68-
name: Publish dev package
69-
needs:
70-
- build
71-
if: contains(github.event.pull_request.body, 'deploy please') && github.event_name == 'pull_request'
72-
runs-on: ubuntu-latest
73-
environment:
74-
name: pypi
75-
url: https://pypi.org/p/python-web3-wallet
76-
permissions:
77-
id-token: write # IMPORTANT: mandatory for trusted publishing
78-
steps:
79-
- name: Download all the dists
80-
uses: actions/download-artifact@v4
81-
with:
82-
name: python-package-distributions
83-
path: dist/
84-
- name: Set Development Version
85-
run: |
86-
current_version=$(poetry version -s)
87-
poetry version "${current_version}.dev${{ github.run_number }}"
88-
shell: bash
89-
- name: Build and Publish Development Package
90-
run: poetry publish -p ${{ secrets.PYPI_TOKEN }} -u "__token__" --build
91-
shell: bash
64+
verbose: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-web3-wallet"
3-
version = "0.0.13"
3+
version = "0.0.14"
44
description = "Streamlit component that allows users to connect a wallet and send transactions with dynamic recipients and amounts"
55
authors = ["Gnosis AI <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)