diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eac1e8f..66bf3e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: run: mkdir /home/build && chgrp nobody /home/build && chmod g+ws /home/build && setfacl -m u::rwx,g::rwx /home/build && setfacl -d --set u::rwx,g::rwx,o::- /home/build && chown nobody . && mkdir -p arch && chown nobody arch - name: Make Arch package - run: cp PKGBUILD arch && cd arch && sudo -u nobody makepkg -d --log && mv *.pkg.tar.zst ../dist/ && mv ./src/app/yandex-music.asar ../dist/ && mv ./src/app/release_notes.json ../dist/ && cd .. && rm -rf arch + run: cp PKGBUILD arch && cd arch && sudo -u nobody makepkg -d --log && mv *.pkg.tar.zst ../dist/ && mv ./src/app/yandex-music.asar ../dist/ && cd .. && rm -rf arch - name: Build tarball packages run: bash ./build_tarball.sh -a all && cp tar/* dist/ @@ -43,6 +43,9 @@ jobs: - name: Build RPM packages run: bash ./build_rpm.sh && mv rpm/*.rpm dist + - name: Generate Release Notes + run: python ./utility/extract_release_notes.py ./dist/release_notes.json + - name: Upload Arch artifacts uses: actions/upload-artifact@v4 with: diff --git a/repack.sh b/repack.sh index 7858b84..5d377e3 100755 --- a/repack.sh +++ b/repack.sh @@ -135,6 +135,5 @@ asar pack "$TEMPDIR/app" "$dst/yandex-music.asar" for ext in png svg; do mv "$TEMPDIR/app/app/favicon.$ext" "$dst" done -python "$SCRIPT_DIR/utility/extract_release_notes.py" "$dst/release_notes.json" echo "Done"