Skip to content

Commit ac8595d

Browse files
committed
release
1 parent 2ff2546 commit ac8595d

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/deploy-semantic-release.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,44 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Python Release
20+
id: release
2021
uses: python-semantic-release/python-semantic-release@v9.20.0
2122
with:
2223
github_token: ${{ secrets.GITHUB_TOKEN }}
2324
push: "true"
2425
changelog: "true"
26+
27+
- name: Create Step Summary
28+
run: |
29+
@"
30+
# MQPy Release
31+
32+
## Release Summary
33+
34+
Version: ${{ steps.release.outputs.version }}
35+
Tag: ${{ steps.release.outputs.tag }}
36+
37+
## Installation Instructions
38+
39+
### Important Warning ⚠️
40+
!!! warning "Trading Risk Warning"
41+
**IMPORTANT: Trading involves substantial risk of loss and is not suitable for all investors.**
42+
43+
- Always use a **demo account** with fake money when testing strategies
44+
- MQPy is provided for **educational purposes only**
45+
- Past performance is not indicative of future results
46+
- Never trade with money you cannot afford to lose
47+
- The developers are not responsible for any financial losses
48+
49+
### Windows-Only Compatibility
50+
This package is designed to work exclusively on Windows operating systems.
51+
52+
### Installation Steps
53+
54+
```
55+
pip install mqpy==${{ steps.release.outputs.version }}
56+
```
57+
58+
### Documentation
59+
For complete documentation, visit our [GitHub repository](https://github.com/Joaopeuko/Mql5-Python-Integration).
60+
"@ | Out-File -FilePath $env:GITHUB_STEP_SUMMARY

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ version_variable = [
4848
version_toml = [
4949
"pyproject.toml:project.version",
5050
]
51+
commit_message = "chore(release): v{version}"
5152

5253
[tool.semantic_release.changelog]
5354
retain_old_entries = true

0 commit comments

Comments
 (0)