File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 33
33
- name : Publish package distributions to PyPI
34
34
uses : pypa/gh-action-pypi-publish@release/v1
35
35
with :
36
- packages_dir : artifact/
36
+ packages_dir : artifact/
37
+
38
+ readme-changelog :
39
+ name : Publish changelog to Readme
40
+ needs : ['pypi-publish']
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Extract release data
44
+ id : release
45
+ run : |
46
+ echo "title=$(echo "${{ github.event.release.name }}" | sed 's/"/\\"/g')" >> $GITHUB_OUTPUT
47
+ echo "body=$(echo "${{ github.event.release.body }}" | sed ':a;N;$!ba;s/\n/\\n/g' | sed 's/"/\\"/g')" >> $GITHUB_OUTPUT
48
+
49
+ - name : Publish changelog to Readme
50
+ env :
51
+ README_API_KEY : ${{ secrets.README_API_KEY }}
52
+ run : |
53
+ curl --location 'https://api.readme.com/v2/changelogs' \
54
+ --header "Authorization: Bearer $README_API_KEY" \
55
+ --header 'Content-Type: application/json' \
56
+ --data '{
57
+ "body": "${{ steps.release.outputs.body }}",
58
+ "title": "Python Unified SDK ${{ steps.release.outputs.title }}",
59
+ "privacy": {
60
+ "view": "public"
61
+ }
62
+ }'
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " bitpay"
7
- version = " 7.0.4 "
7
+ version = " 7.0.5 "
8
8
authors = [
9
9
{
name =
" Antonio Buedo" ,
email =
" [email protected] " },
10
10
]
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ class Config(Enum):
5
5
TEST_URL = "https://test.bitpay.com/"
6
6
PROD_URL = "https://bitpay.com/"
7
7
BITPAY_API_VERSION = "2.0.0"
8
- BITPAY_PLUGIN_INFO = "BitPay_Python_Client_v7.0.4 "
8
+ BITPAY_PLUGIN_INFO = "BitPay_Python_Client_v7.0.5 "
9
9
BITPAY_API_FRAME = "std"
10
10
BITPAY_API_FRAME_VERSION = "1.0.0"
You can’t perform that action at this time.
0 commit comments