Skip to content

Commit e721cd9

Browse files
committed
fixes to release workflows
1 parent 3475950 commit e721cd9

4 files changed

Lines changed: 124 additions & 71 deletions

File tree

.github/workflows/autoupdate.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: autoupdate
2+
on:
3+
# This will trigger on all pushes to all branches.
4+
push: {}
5+
# Alternatively, you can only trigger if commits are pushed to certain branches, e.g.:
6+
# push:
7+
# branches:
8+
# - master
9+
# - unstable
10+
jobs:
11+
autoupdate:
12+
name: autoupdate
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- uses: docker://chinthakagodawita/autoupdate-action:v1
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/create-release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,11 @@ jobs:
145145
// Build comprehensive release body
146146
let releaseBody = `## 🐍 Reya Python SDK Release ${version}
147147
148-
The official Python SDK for interacting with the Reya ecosystem.
149-
150148
### 📦 Installation
151149
\`\`\`bash
152150
pip install reya-python-sdk
153151
\`\`\`
154152
155-
### 🚀 Features
156-
- **REST API Client** - HTTP client for Reya's Trading API
157-
- **RPC Client** - Web3-based client for on-chain actions
158-
- **WebSocket Client** - Real-time data streaming client
159-
160153
### 📋 Release Details
161154
- **Release Tag**: \`v${version}\`
162155
- **Commit**: \`${commitSha.substring(0, 7)}\`
@@ -177,13 +170,11 @@ jobs:
177170
releaseBody += `\n\n---\n\n${automaticReleaseNotes}`;
178171
}
179172
180-
releaseBody += `\n\n---\n\n**📦 PyPI Publishing**: This release will be automatically published to PyPI when you publish this GitHub release.\n\n🤖 *This release was automatically created after merging changes to main branch.*`;
181-
182173
const { data: release } = await github.rest.repos.createRelease({
183174
owner: context.repo.owner,
184175
repo: context.repo.repo,
185176
tag_name: `v${version}`,
186-
name: `🏷️ Release v${version}`,
177+
name: `🏷️ v${version}`,
187178
body: releaseBody,
188179
draft: false,
189180
prerelease: false,
@@ -204,4 +195,4 @@ jobs:
204195
echo "📦 To publish to PyPI, go to the GitHub release and click 'Publish'"
205196
elif [ "${{ steps.check-version-new.outputs.version_is_new }}" = "false" ]; then
206197
echo "⚠️ Skipped: Version v${{ steps.current-version.outputs.sdk_version }} already exists"
207-
fi
198+
fi

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ jobs:
6969
TAG_VERSION=${TAG_VERSION#v}
7070
echo "✅ Successfully published reya-python-sdk v$TAG_VERSION to PyPI!"
7171
echo "🐍 PyPI: https://pypi.org/project/reya-python-sdk/$TAG_VERSION/"
72-
echo "📦 Install with: pip install reya-python-sdk==$TAG_VERSION"
72+
echo "📦 Install with: pip install reya-python-sdk==$TAG_VERSION"

0 commit comments

Comments
 (0)