1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 04:08:59 +01:00

Automatically edit release

This commit is contained in:
Daniil Gentili 2022-05-03 01:25:01 +02:00
parent 4c4619d167
commit c6fdc4833d
2 changed files with 3 additions and 3 deletions

View File

@ -58,5 +58,6 @@ jobs:
- name: Deploy
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tests/deploy.sh
tests/deploy.sh

View File

@ -9,8 +9,7 @@ echo "Branch: $BRANCH"
echo "Commit: $COMMIT"
echo "Latest tag: $TAG"
# Clean up
madelinePath=$PWD
gh release edit --prerelease=false "$TAG"
if [ "$SSH_KEY" != "" ]; then
eval "$(ssh-agent -s)"