Repository navigation
Description
Release DocumentServer and DesktopEditors together, with the same version and tags across all submodules. Where the builds publish their assets: #2. Pending changes for the next release: #4.
Flow
- Prepare (
workflow_dispatch, inputsversionandproducts: both|ds|de): pin one commit per shared submodule for both products, bumpVERSION/VERSION.txt, generateCHANGELOG.md(grouped by conventional-commit type, compare links per repo), open linkedrelease/vXPRs (againststable-X.Y.Zonce it exists).bump_submodules: falsekeeps the current submodule commits. - Review and test the release PRs.
release/*PRs get test packages linked in a PR comment: DocumentServer also apr-<n>image (ci: keep :latest for stable tags, add test build outputs DocumentServer#431), DesktopEditors a table per brand and arch (ci: link release PR artifacts and shorten their retention DesktopEditors#162). - Tag (
workflow_dispatch,releaseenvironment): check the PRs are merged, versions match and shared commits are identical; abort if any tag exists; tag submodules first, then the products; the first tag of a version createsstable-X.Y.Zin every repo. - Build: the existing
build.ymlfiles publish directly, withCHANGELOG.mdas the release body.
Decisions
v9.3.6is stable; any suffix (-rc.N,-beta.N,-test.N) is a prerelease.- Tags carry no build id (no
+N, no-N). Rebuilding the same commits re-runs the workflow on the same tag; any content change gets a new patch version. Once a version is in the APT/DNF archive, a fix always needs a new patch version. - Package versions are derived by CI: stable
9.3.6-0, prerelease9.3.6-0~rc.1, so dpkg and rpm sort prereleases before the final release. GitHub renames~to.in release asset filenames; apt and dnf read the version from the package metadata, so this only affects the file name. release.shis the only tagging tool. DesktopEditors'tag_release.shis removed; DocumentServer's stays as a fallback until9.3.6-rc.1has been tagged through the workflow.-test.Nchecks the process only: realpreparewith release PRs, thentag --dry-run. No tags are pushed.-rc.Nis the first real tag and is published as a prerelease.- Both products follow the DocumentServer version. A skipped product skips that version number.
- Each version gets a
stable-X.Y.Zbranch in all 15 repos, created at the first tag (-rc.1), so later rounds only get what is backported.preparepins from it and opens the release PRs against it. Fixes land onmainfirst and are backported with the Nextcloud backportbot (/backport to stable-X.Y.Z).stable-because upstream'srelease/vXandhotfix/vXbranches still exist in the submodules and the release PR branches arerelease/vX. mainis not synced back fromstable-X.Y.Z: itsVERSION/CHANGELOG.mdskip the rounds released from the branch; tags and GitHub releases carry the notes.- Hotfixes after a final release are built from latest
main. preparecan skip the submodule bump (bump_submodules: false,--no-bump) and then fails early if shared submodules differ between the products (usual onmain, since the nightly bumps run per product).- The nightly submodule bump keeps running.
- Credentials: org secret
EO_ROBOT_GITHUB_TOKEN, so PRs, commits and tags appear as the robot account. Nextcloud Office publishing uses a classic PAT of thenextcloud-releasesbot (NEXTCLOUD_RELEASES_TOKEN/NEXTCLOUD_RELEASES_USER), because GHCR does not accept GitHub App tokens. fix(deps)PRs (Renovate) are listed under Other changes.- Changelogs link PRs as
[repo#N](url)with plain author names and compare links as<url>, so they neither cross-reference nor mention anyone and pass markdownlint. publish-nextcloud-apt-dnfkeeps waiting for the SSH upload for now (feat: add nextcloud release workflow, put nextcloud office ssh push into separate step DocumentServer#421 unchanged).
Done
Euro-Office/releasewithrelease.sh check|prepare|tagand the check, prepare, tag and pending workflowsEO_ROBOT_GITHUB_TOKENhas Contents write on both products and all submodules (release.sh checkpasses for all 15 repos)9.3.6-test.1process check: realpreparewith release PRs chore(release): v9.3.6-test.1 DocumentServer#434 and chore(release): v9.3.6-test.1 DesktopEditors#158, green builds,tag --dry-runon the unmerged PRs; thereleaseenvironment was created by that run (no protection yet). Tag creation itself is first exercised by-rc.1.- Pending changelog is posted nightly to Pending release changelog #4.
release.shstill accepts the existingv9.3.5-2as the previous stable tag (f4fecfd), so the DesktopEditors changelog starts there. - Upstream mirror and sync workflows removed (ci: drop upstream mirror and sync workflows DocumentServer#407, Euro-Office/internal#223), upstream sync PRs closed, mirrored
v9.4.0deleted from DesktopEditors (submodules only carry four-part upstream tagsv9.4.0.N, which don't collide) - DesktopEditors
publish-repouses DocumentServermain(33c21ca; ci: use publish-repo workflow from DocumentServer main DesktopEditors#97 closed as superseded) - DocumentServer (ci: keep :latest for stable tags, add test build outputs DocumentServer#431): prerelease tags no longer move
:latest,+becomes-in image tags,release/*PRs get test artifacts - ci: drop vX.Y.Z+N rebuild tags DocumentServer#406 merged:
tag_release.shrejects malformed-pvalues, prerelease packages use0~<suffix>(also forrelease/*test builds), unknown tag formats fail the build - ci: treat vX.Y.Z as stable release tag DesktopEditors#98 merged: prerelease packages use
0~<suffix>,scripts/tag_release.shremoved, version step reads$GITHUB_REF_NAME(zizmor), unused macOS build number dropped, versioning docs updated - ci: split prerelease versions from VERSION.txt DesktopEditors#160 merged: release PR builds split
VERSION.txtlike tags (9.3.6/0~test.1) - ci: share the clone cache between hosted and self-hosted runners DocumentServer#435 merged: relative clone cache path, so garm and GitHub-hosted runners share the cache
release.sh: submodule changelogs fall back to the merged PRs of the pinned range when the previous tag is missing (with one retry per API call), PRs linked as[repo#N](url)without mentions, compare links as<url>, re-runningprepareupdates the PR body,tag --dry-runpreviews unmerged release PRs- DesktopEditors
CHANGELOG.mdheading is# Changelog, like the onesrelease.shcreates (1c11cfa) release-tagsruleset (refs/tags/v*) on both products, all 13 submodules and Euro-Office/release;eo-robotbypasses through thereleaseteam- fix: use PAT instead of github app token DesktopEditors#129 merged: Nextcloud release uses the PAT instead of the App token
- Org secrets
NEXTCLOUD_RELEASES_TOKEN(scopespublic_repo,write:packages) andNEXTCLOUD_RELEASES_USER nextcloud-releases/Office-DocumentServerseeded with a README (2c9acf6); the empty repo would have failed the first release- feat: add nextcloud release workflow, put nextcloud office ssh push into separate step DocumentServer#421 merged: rebased on
main, one sanitized ref name, required checksclone/e2e/upgradekeep their names, singlepublish-euro-office-releasejob, changelog release notes,gh releaseinstead of action-gh-release, zizmor clean (mirror token no longer persisted into the cached workspace,permissions: {}by default, expressions viaenv) nextcloud-releases/Office-DesktopEditorsREADME:vX.Y.Ztags are stable (6384b9c)release.sh:stable-X.Y.Zrelease branches and optional submodule bump (b6a2837)
Left
Before 9.3.6-test.1
`-test.1` runs a real `prepare` with release PRs, then `tag --dry-run`. No tags are pushed, nothing is published.
- ci: drop vX.Y.Z+N rebuild tags DocumentServer#406: re-review (the approval is from before the rebase and the new commits), merge
- ci: treat vX.Y.Z as stable release tag DesktopEditors#98: answer @Aiiaiiio's rebuild-tag question, review, merge. Without it,
v9.3.6publishes as a prerelease in DesktopEditors and skips APT/DNF. - ci: split prerelease versions from VERSION.txt DesktopEditors#160 merged: release PR builds split
VERSION.txtlike tags (9.3.6/0~test.1), rpm rejectedVersion: 9.3.6-test.1 - ci: share the clone cache between hosted and self-hosted runners DocumentServer#435 merged: relative clone cache path, so garm and GitHub-hosted runners share the cache (was
./build does not exist) - Run
9.3.6-test.1:- Pull requests write works on both products (first real
prepare, run) - Release PRs chore(release): v9.3.6-test.1 DocumentServer#434 and chore(release): v9.3.6-test.1 DesktopEditors#158, linked to each other; shared submodules pinned to the same commits, changelogs generated
-
preparere-run after the fixes (run): changelogs with[repo#N]links, no mentions, DesktopEditors lists its submodule PRs - Release PR builds green (DocumentServer#434 first try, DesktopEditors#158 after re-running two runner failures); chore(release): v9.3.6-test.1 DocumentServer#434 has the test build comment, packages
9.3.6-0~test.1 - ci: link release PR artifacts and shorten their retention DesktopEditors#162 artifact table verified on its own branch with a temporary commit
- ci: keep :latest for stable tags, add test build outputs DocumentServer#431 test build on the DocumentServer release PR: artifacts and PR comment, packages named
9.3.6-0~test.1 -
tag --dry-runon the unmerged PRs (run): 13 submodules plus both products, identical commits for shared submodules - Both release PRs closed without merging, so
mainkeeps9.3.5 -
release/v9.3.6-test.1branches deleted in both products
- Pull requests write works on both products (first real
Before 9.3.6-rc.1
-rc.1 is the first real tag and publishes to every location in #2, as a prerelease.
Release flow:
- Protect
v*tags in both products:release-tagsruleset (creation/update/deletion ofrefs/tags/v*) on both products, all 13 submodules and Euro-Office/release;eo-robotbypasses through thereleaseteam
Release assets:
-
NEXTCLOUD_SSH_REMOTE_PATHis the same in both repos (shared APT/DNF archive and lock)
Nextcloud Office publishing:
-
feat: add nextcloud release workflow, put nextcloud office ssh push into separate step DocumentServer#421 merged: Nextcloud Office publishing, single Euro-Office release job with
prerelease/latestfrom the tag, changelog release notes, drops the stalePRODUCT_VERSION. Without it,v9.3.6-rc.1would become a normal release marked latest. -
ci: drop the changelog spellcheck and line length rule DesktopEditors#161 (drop the changelog spellcheck and MD013) and ci: link release PR artifacts and shorten their retention DesktopEditors#162 (artifact table comment, 7/30 day retention instead of 90) merged
-
Run
9.3.6-rc.1: prepare, check the release PR comments and changelogs (DesktopEditors markdownlint green), merge, tag through the workflow (first real tag run)- Release PRs chore(release): v9.3.6-rc.1 DocumentServer#448 and chore(release): v9.3.6-rc.1 DesktopEditors#181 (prepared before b6a2837, target
mainas intended) -
tag --dry-runlists 15would branch … stable-9.3.6lines at the tagged commits - Tag run created
stable-9.3.6in all 15 repos
- Release PRs chore(release): v9.3.6-rc.1 DocumentServer#448 and chore(release): v9.3.6-rc.1 DesktopEditors#181 (prepared before b6a2837, target
Afterwards
Right after the -rc.1 build:
- Make
ghcr.io/nextcloud-releases/office-documentserverpublic and link it tonextcloud-releases/Office-DocumentServerNote: the package does not exist yet. The first tag push creates it as private, so the
docker pullin the release body fails until someone with admin onnextcloud-releaseschanges the visibility (Package settings → Change visibility → Public, and connect the repository). -
stable-*branch ruleset (no deletion or force push, PR required) on both products and all 13 submodules; per repo, org rulesets need GitHub Team - Nextcloud backportbot installed on the Euro-Office org, with access to the private submodules
- Tell the team: fixes for 9.3.6 go to
mainfirst, then/backport to stable-9.3.6; rc.2 and the final are prepared from the branch - Check all locations in Release assets overview #2. Prerelease assets are named
..._9.3.6-0.rc.1_..., because GitHub renames~to.; the download server path is<ver>/0~rc.1/
Before 9.3.6 (stable goes into the APT/DNF archive):
- Review and merge ci: name releases and use the changelog as release notes DesktopEditors#169: release names, the tag's
CHANGELOG.mdsection as release notes,prerelease/latestfrom the tag. Until then the DesktopEditors-rc.1releases keep the old name and body (prerelease is still set correctly). - The stable archive has
nextcloud-office-desktopeditors 9.3.1-dev.1next tonextcloud-office-nextcloudoffice 9.3.5-2: the DesktopEditors Linux package was renamed in 9.3.5, and the old name (a dev build) is still there. The install instructions innextcloud-releases/Office-DesktopEditorsstill sayapt install nextcloud-office-desktopeditors, which installs 9.3.1-dev.1. Decide on the package name, addReplaces/Obsoletesif it stays renamed, remove the dev build, update the README. -
nextcloud-releases/Office-DesktopEditorsREADME:vX.Y.Ztags are stable (6384b9c) - Release
9.3.6
Later:
- Add required reviewers to the
releaseenvironment (skipped for now; the first tag run creates it without protection). It only adds an approval step, sinceEO_ROBOT_GITHUB_TOKENis an org secret thatpreparealso uses. - Drop DocumentServer's
scripts/tag_release.sh(fallback until-rc.1was tagged through the workflow) - After
9.3.6: drop thevX.Y.Z-Ncompat inrelease.shis_stable/previous_tag(f4fecfd) - Push the Nextcloud image to the private build cache with
GITHUB_TOKENand copy it in the publish job, so the PAT stays in publish jobs behind an environment andcontinue-on-errorgoes away. Today a failed GHCR push can only be recovered with "Re-run all jobs". - Optional: fine-grained PAT for DesktopEditors (it only creates the release, no GHCR push)
- Decide whether the Nextcloud image needs
:nightlyfrommain(not in feat: add nextcloud release workflow, put nextcloud office ssh push into separate step DocumentServer#421) - DesktopEditors: hardcoded
9.3.1defaults inbuild/docker-bake.hcl,build/linux/docker-bake.hcl,build/windows/build.ps1should readVERSION.txt - DesktopEditors: drop
advinst/*.msifrom the upload glob (no MSI is built) - DesktopEditors: remove or rebrand
winget.yml(ONLYOFFICE.DesktopEditors) - Optional: enforce conventional PR titles in all repos, so the changelog grouping does not depend on discipline
Known limits
mainkeepsVERSION9.3.6-rc.1while-rc.2and the final are released fromstable-9.3.6, so nightly builds frommainreport that version.- garm self-hosted runners sometimes get a shutdown signal mid-build; re-run the failed jobs. Jobs also wait 10 to 20 minutes for a runner when the release builds are running.
- Hosts that installed an old-scheme
9.3.5-rc.1.debdon't get9.3.5-0through APT; they are fixed once9.3.6ships. - Prerelease suffixes sort alphabetically among themselves (
beta<rc<test); all sort before the final release. - Windows FILEVERSION is broken for any prerelease suffix with the pinned
desktop-apps; fixed ondesktop-appsmain, lands with the next submodule bump.
Activity
docs: vX.Y.Z tags are stable
juliusknorr commentedon Oct 20, 2026