Skip to content

Align release CI metadata with multi-package Linux build and validation scope#11

Merged
pedrofariasx merged 7 commits into
devfrom
copilot/ajustar-ci-rpm-deb-arch
Mar 17, 2026
Merged

Align release CI metadata with multi-package Linux build and validation scope#11
pedrofariasx merged 7 commits into
devfrom
copilot/ajustar-ci-rpm-deb-arch

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 17, 2026

This update aligns the PR scope with the actual CI release changes: automated Linux artifact generation (RPM/DEB/AppImage/Tar.gz/Arch) plus release safety checks for version consistency and Arch dependency mapping.

  • Release artifact coverage

    • CI release flow builds and publishes:
      • appimage, deb, rpm (via tauri-action)
      • Arch Linux package (.pkg.tar.zst) via makepkg
      • Linux tar.gz bundle
  • Version gate

    • Added/kept an early fail-fast check to ensure the pushed tag version (v* normalized) matches src-tauri/tauri.conf.json version before packaging/upload.
  • Debian→Arch dependency validation

    • Arch packaging step resolves Debian bundle dependencies from tauri.conf.json through a mapping function.
    • Workflow fails if any dependency is not mapped, preventing incomplete/invalid Arch package metadata.
  • PR metadata correction

    • PR title/description were rewritten to reflect the full CI scope above (not only the version check).
- name: Validate tag version matches app version
  run: |
    TAG_VERSION="${{ github.ref_name }}"
    TAG_VERSION="${TAG_VERSION#v}"
    APP_VERSION="$(jq -r '.version' src-tauri/tauri.conf.json)"

    if [ "$TAG_VERSION" != "$APP_VERSION" ]; then
      echo "Tag version ($TAG_VERSION) does not match app version ($APP_VERSION)."
      exit 1
    fi

Copilot AI and others added 2 commits March 17, 2026 00:46
Co-authored-by: JGMelon22 <73988556+JGMelon22@users.noreply.github.com>
Co-authored-by: JGMelon22 <73988556+JGMelon22@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CI for rpm, deb, arch linux, appimage and targz Ajusta workflow de release Linux para garantir artifacts rpm/deb/appimage + arch + tar.gz Mar 17, 2026
Copilot AI requested a review from JGMelon22 March 17, 2026 00:49
Copilot AI changed the title Ajusta workflow de release Linux para garantir artifacts rpm/deb/appimage + arch + tar.gz Ajusta CI de release Linux para publicar rpm/deb/appimage + Arch (.pkg.tar.zst) + tar.gz Mar 17, 2026
Copilot stopped work on behalf of JGMelon22 due to an error March 17, 2026 00:53
Copilot AI and others added 2 commits March 17, 2026 00:57
Co-authored-by: JGMelon22 <73988556+JGMelon22@users.noreply.github.com>
Co-authored-by: JGMelon22 <73988556+JGMelon22@users.noreply.github.com>
Copilot AI changed the title Ajusta CI de release Linux para publicar rpm/deb/appimage + Arch (.pkg.tar.zst) + tar.gz Clarify and harden Linux release packaging: auto-sync Arch deps from DEB metadata with fail-fast mapping Mar 17, 2026
Co-authored-by: JGMelon22 <73988556+JGMelon22@users.noreply.github.com>
Copilot AI changed the title Clarify and harden Linux release packaging: auto-sync Arch deps from DEB metadata with fail-fast mapping Release pipeline: auto-handle Arch deps from DEB metadata with explicit fail-fast on unmapped packages Mar 17, 2026
Copilot AI changed the title Release pipeline: auto-handle Arch deps from DEB metadata with explicit fail-fast on unmapped packages Reverte adição indevida no README (seção de artefatos automáticos) Mar 17, 2026
Copilot AI changed the title Reverte adição indevida no README (seção de artefatos automáticos) Clarifica fonte da versão e papel da pipeline de release Mar 17, 2026
Co-authored-by: JGMelon22 <73988556+JGMelon22@users.noreply.github.com>
Copilot AI changed the title Clarifica fonte da versão e papel da pipeline de release Add release guard: enforce tag version == Tauri app version Mar 17, 2026
Copilot AI changed the title Add release guard: enforce tag version == Tauri app version Add release gate to enforce tag/app version consistency Mar 17, 2026
Copilot AI changed the title Add release gate to enforce tag/app version consistency Align release CI metadata with multi-package Linux build and validation scope Mar 17, 2026
Copy link
Copy Markdown
Collaborator

@JGMelon22 JGMelon22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testar em dev

@JGMelon22 JGMelon22 marked this pull request as ready for review March 17, 2026 01:40
@pedrofariasx pedrofariasx merged commit 2f515f4 into dev Mar 17, 2026
2 checks passed
@JGMelon22 JGMelon22 deleted the copilot/ajustar-ci-rpm-deb-arch branch March 19, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants