Files
zitadel/project.json
Elio Bischof b080ed8884 chore: release tarballs (#10956)
# Which Problems Are Solved

This PR makes sure that the tarballs containing the API binary and the
standalone login are separately downloadable from the release pages
again.

# How the Problems Are Solved

Because the `Pack` workflow uploads a single GitHub artifact containing
all tarballs since #10571, we download this artifact so that it
correctly unpacks into the correct folder structure configured in
`.releaserc.js`

The changes are tested [with this action
run](https://github.com/eliobischof/zitadel/actions/runs/18745783976),
which [created this
release](https://github.com/eliobischof/zitadel/releases/tag/v1.0.0-release-archives.5).

# Additional Changes

- The term `standalone` is removed from the login tarball, as it should
be clear that it is a standalone build.
- The go builds and the login archiving are less verbose
- The pipelines go versions are pinned to *v1.25*, a minor above the
minimally required go version *v1.24.0* described in the go.mod file.
This makes sure that we build using newer patches for security and
performance.

# Additional Context

- The archives weren't published anymore since #10571 
- Closes #10896

---------

Co-authored-by: Silvan <27845747+adlerhurst@users.noreply.github.com>
2025-10-23 20:08:24 +02:00

43 lines
1.4 KiB
JSON

{
"$schema": "./node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"targets": {
"db": {
"continuous": true,
"description": "Runs a local Postgres database for development",
"command": "nx run @zitadel/devcontainer:compose up db"
},
"clean": {
"description": "Cleans all local-only files relating to the Zitadel platform (API, Login and Console)",
"dependsOn": [
"@zitadel/api:clean",
"@zitadel/login:clean",
"@zitadel/console:clean"
]
},
"pack": {
"description": "Creates package archives for the API across all platforms and for the Login component, then generates a checksums.txt file containing the SHA256 checksums for all created archives.",
"dependsOn": [
"@zitadel/api:pack-linux-*",
"@zitadel/api:pack-darwin-*",
"@zitadel/api:pack-windows-*",
"@zitadel/login:pack"
],
"executor": "nx:run-commands",
"options": {
"parallel": false,
"commands": [
"sha256sum .artifacts/pack/zitadel-*.tar.gz > .artifacts/pack/checksums.txt"
]
},
"cache": true,
"inputs": [
"{workspaceRoot}/.artifacts/pack/zitadel-*.tar.gz"
],
"outputs": [
"{workspaceRoot}/.artifacts/pack/checksums.txt"
]
}
}
}