ci(release): publish public desktop releases#1
Merged
Conversation
HeinzDBV
marked this pull request as ready for review
July 15, 2026 22:34
There was a problem hiding this comment.
Pull request overview
Este PR incorpora un flujo de releases públicos para la app de escritorio (Tauri) disparado por tags vX.Y.Z, asegurando que las versiones en package.json, tauri.conf.json y Cargo.toml estén sincronizadas antes de construir y publicar los instaladores.
Changes:
- Bump de versión a
0.1.1enpackage.json,package-lock.json,src-tauri/tauri.conf.jsonysrc-tauri/Cargo.toml. - Nuevo workflow de GitHub Actions para crear draft release, compilar en Windows/macOS/Linux, subir assets y publicar el release.
- Nueva guía operativa
RELEASING.mdpara el proceso de tagging y publicación.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src-tauri/tauri.conf.json | Actualiza la versión de Tauri para alinearla con el tag/release. |
| src-tauri/Cargo.toml | Actualiza la versión del paquete Rust para que coincida con el release. |
| RELEASING.md | Documenta el flujo operativo de releases por tag. |
| package.json | Actualiza la versión del paquete para alinearla con el release. |
| package-lock.json | Sincroniza la versión del lockfile con package.json. |
| .github/workflows/release.yml | Agrega pipeline de build multi-plataforma y publicación de GitHub Release. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+4
to
+7
| push: | ||
| tags: | ||
| - "v*" | ||
|
|
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| TAG: ${{ github.ref_name }} | ||
| run: gh release edit "$TAG" --repo "$GITHUB_REPOSITORY" --draft=false --latest |
Comment on lines
+68
to
+76
| const version = process.env.VERSION; | ||
| const packageVersion = JSON.parse(fs.readFileSync("package.json", "utf8")).version; | ||
| const tauriVersion = JSON.parse(fs.readFileSync("src-tauri/tauri.conf.json", "utf8")).version; | ||
| const cargo = fs.readFileSync("src-tauri/Cargo.toml", "utf8"); | ||
| const cargoVersion = cargo.match(/^version\s*=\s*"([^"]+)"/m)?.[1]; | ||
| const versions = [packageVersion, tauriVersion, cargoVersion]; | ||
| if (!version || versions.some((candidate) => candidate !== version)) { | ||
| throw new Error(`Release tag ${version} does not match ${versions.join(", ")}`); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configura releases públicos por tag vX.Y.Z.\n\n- Builds Windows, Apple Silicon macOS y Linux.\n- Valida que package.json, Tauri y Cargo compartan la versión.\n- Crea un draft de GitHub Release, sube assets y lo publica al terminar.\n- Añade RELEASING.md con el flujo operativo.