Correct release script. Again.

This commit is contained in:
IQuant 2024-11-26 20:20:21 +03:00
parent 7cc877ba97
commit 891c6d41ab
2 changed files with 3 additions and 2 deletions

View file

@ -100,10 +100,10 @@ jobs:
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
merge-multiple: true merge-multiple: true
- name: List artifacts
run: ls -R
- name: Get tag message - name: Get tag message
run: git tag -l --format='%(contents)' $(git describe --tags) > release_body.md 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 - uses: ncipollo/release-action@v1
with: with:
draft: true draft: true

View file

@ -50,6 +50,7 @@ def main():
notes_path = generate_notes(tag) notes_path = generate_notes(tag)
subprocess.check_call(["git", "tag", "-a", "-F", notes_path, tag ]) subprocess.check_call(["git", "tag", "-a", "-F", notes_path, tag ])
subprocess.check_call(["git", "push"])
subprocess.check_call(["git", "push", "--tags"]) subprocess.check_call(["git", "push", "--tags"])