From d5b482d0d2b9e166cdfc6a5daa0e85d9236f7a3b Mon Sep 17 00:00:00 2001 From: neurvinch Date: Sun, 27 Sep 2026 19:16:28 +0530 Subject: [PATCH 1/6] fix: update download links for Windows and Debian setup files to version 1.2.0 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00302a5c5..95787e1c2 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@

Download:    - Windows download button + Windows download button    macOS download button    - Debian download button + Debian download button    GitHub Releases button

From ac0c975d99a23b7f7e6dd0db2a52e6737f340ca5 Mon Sep 17 00:00:00 2001 From: neurvinch Date: Mon, 28 Sep 2026 11:22:04 +0530 Subject: [PATCH 2/6] fix: update download links in README to point to the latest release --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 95787e1c2..a568d9dca 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@

Download:    - Windows download button + Windows download button    macOS download button    - Debian download button + Debian download button    GitHub Releases button

From 200aabe4abdc2f64f34af07a6c649382ef7802c7 Mon Sep 17 00:00:00 2001 From: neurvinch Date: Mon, 28 Sep 2026 11:28:46 +0530 Subject: [PATCH 3/6] fix: update Windows and Debian download links in README to point to specific setup files --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a568d9dca..e0bc089ef 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@

Download:    - Windows download button + Windows download button    macOS download button    - Debian download button + Debian download button    GitHub Releases button

From d3c4732cb6716770457b08cc9abc7c8186a13ba8 Mon Sep 17 00:00:00 2001 From: neurvinch Date: Mon, 28 Sep 2026 11:30:14 +0530 Subject: [PATCH 4/6] fix: update download links in README to point to the latest release page --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0bc089ef..a568d9dca 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@

Download:    - Windows download button + Windows download button    macOS download button    - Debian download button + Debian download button    GitHub Releases button

From 6728fa5cdfabef9feef3d8d9a90e7cc3362781e7 Mon Sep 17 00:00:00 2001 From: neurvinch Date: Mon, 28 Sep 2026 13:54:29 +0530 Subject: [PATCH 5/6] feat: add workflow for publishing stable installer downloads and update README links --- .github/workflows/build-and-release.yml | 9 ++++ .../workflows/publish-stable-downloads.yml | 41 +++++++++++++++++++ README.md | 4 +- 3 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish-stable-downloads.yml diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 6b1cbfb74..1a01b60ea 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -388,3 +388,12 @@ jobs: releaseDraft: false prerelease: false args: ${{ matrix.args }} + + publish-stable-downloads: + needs: publish-tauri + permissions: + contents: write + uses: ./.github/workflows/publish-stable-downloads.yml + with: + release-tag: ${{ github.event.release.tag_name || github.event.inputs.tag }} + diff --git a/.github/workflows/publish-stable-downloads.yml b/.github/workflows/publish-stable-downloads.yml new file mode 100644 index 000000000..347d5d19e --- /dev/null +++ b/.github/workflows/publish-stable-downloads.yml @@ -0,0 +1,41 @@ +name: Publish Stable Installer Downloads + +on: + workflow_call: + inputs: + release-tag: + required: true + type: string + workflow_dispatch: + inputs: + release-tag: + description: Release tag to add stable installer assets to + required: true + type: string + +permissions: + contents: write + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Publish stable installer asset names + env: + GH_TOKEN: ${{ github.token }} + RELEASE_TAG: ${{ inputs.release-tag }} + run: | + VERSION="${RELEASE_TAG#v}" + mkdir stable-downloads + gh release download "$RELEASE_TAG" \ + --repo "$GITHUB_REPOSITORY" \ + --pattern "PictoPy_${VERSION}_x64-setup.exe" \ + --pattern "PictoPy_${VERSION}_amd64.deb" \ + --dir stable-downloads + cp "stable-downloads/PictoPy_${VERSION}_x64-setup.exe" PictoPy-Windows-Setup.exe + cp "stable-downloads/PictoPy_${VERSION}_amd64.deb" PictoPy-Debian-amd64.deb + gh release upload "$RELEASE_TAG" \ + --repo "$GITHUB_REPOSITORY" \ + PictoPy-Windows-Setup.exe \ + PictoPy-Debian-amd64.deb \ + --clobber \ No newline at end of file diff --git a/README.md b/README.md index a568d9dca..e0bc089ef 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@

Download:    - Windows download button + Windows download button    macOS download button    - Debian download button + Debian download button    GitHub Releases button

From 2ad7f61bba7ad80c9ffcc2ab86d37655cb937c98 Mon Sep 17 00:00:00 2001 From: neurvinch Date: Mon, 28 Sep 2026 14:09:10 +0530 Subject: [PATCH 6/6] fix: update Windows and Debian download links in README to version 1.2.0 --- .github/workflows/publish-stable-downloads.yml | 7 +++++++ README.md | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-stable-downloads.yml b/.github/workflows/publish-stable-downloads.yml index 347d5d19e..d4c222913 100644 --- a/.github/workflows/publish-stable-downloads.yml +++ b/.github/workflows/publish-stable-downloads.yml @@ -20,12 +20,19 @@ jobs: publish: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - name: Publish stable installer asset names env: GH_TOKEN: ${{ github.token }} RELEASE_TAG: ${{ inputs.release-tag }} run: | VERSION="${RELEASE_TAG#v}" + MANIFEST_VERSION="$(sed -n 's/^version = "\(.*\)"/\1/p' frontend/src-tauri/Cargo.toml | head -n 1)" + if [ "$VERSION" != "$MANIFEST_VERSION" ]; then + echo "Error: release tag version $VERSION does not match manifest version $MANIFEST_VERSION" + exit 1 + fi mkdir stable-downloads gh release download "$RELEASE_TAG" \ --repo "$GITHUB_REPOSITORY" \ diff --git a/README.md b/README.md index e0bc089ef..95787e1c2 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@

Download:    - Windows download button + Windows download button    macOS download button    - Debian download button + Debian download button    GitHub Releases button