From 891c6d41abfae56b91d136a548986586b3bafd3c Mon Sep 17 00:00:00 2001 From: IQuant Date: Tue, 26 Nov 2024 20:20:21 +0300 Subject: [PATCH] Correct release script. Again. --- .github/workflows/release.yml | 4 ++-- scripts/check_pre_ci.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1de08b68..ef261e99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,10 +100,10 @@ jobs: uses: actions/download-artifact@v4 with: merge-multiple: true - - name: List artifacts - run: ls -R - name: Get tag message run: git tag -l --format='%(contents)' $(git describe --tags) > release_body.md + - name: Print release body + run: cat release_body.md - uses: ncipollo/release-action@v1 with: draft: true diff --git a/scripts/check_pre_ci.py b/scripts/check_pre_ci.py index f2bab576..b4930cc0 100644 --- a/scripts/check_pre_ci.py +++ b/scripts/check_pre_ci.py @@ -50,6 +50,7 @@ def main(): notes_path = generate_notes(tag) subprocess.check_call(["git", "tag", "-a", "-F", notes_path, tag ]) + subprocess.check_call(["git", "push"]) subprocess.check_call(["git", "push", "--tags"])