1 parent 4978839 commit 6e3a7ffCopy full SHA for 6e3a7ff
1 file changed
.github/workflows/create.yml
@@ -2,10 +2,13 @@ name: create torrent
2
3
on:
4
workflow_dispatch:
5
+ push:
6
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
steps:
13
- uses: actions/checkout@v4
14
- name: Install dependencies
@@ -14,5 +17,14 @@ jobs:
17
pip3 install py3createtorrent bencodepy
15
18
- name: download files and create torrent
16
19
run: ./create_monero_torrent.sh
- - name: show-magnet link
- run: transmission-show -m watch/*
20
+ - name: create release notes
21
+ run: |
22
+ # make it work 1st then make it pretty
23
+ transmission-show -m watch/* >> release-notes.md
24
+ transmission-show watch/* >> release-notes.md
25
+ - name: Release
26
+ uses: softprops/action-gh-release@v2
27
+ if: github.ref_type == 'tag'
28
+ with:
29
+ body_path: release-notes.md
30
+ files: watch/*
0 commit comments