REVIT-220855: D4R CI/CD improvements — read version from AssemblySharedInfo.tt, add CONTENT_ONLY build counter#3310
Open
Fusneica-FlorentinCristian wants to merge 3 commits intomasterfrom
Conversation
…ontent-only build counter Update AssemblySharedInfo.tt in both repos to hold product version numbers (D4R: 0.8.3, SC4D: 7.0.1) instead of the Revit-year-based 28.0.0. Add CONTENT_ONLY build parameter to Jenkinsfile in D4RUtils and SC4D: - false (default): package version matches binary version from AssemblySharedInfo.tt (D4R: Major.Minor.Patch, SC4D: Major.Minor.Patch.0) - true: BUILD_NUMBER appended as a counter for content-only deploys (D4R: Major.Minor.Patch-N, SC4D: Major.Minor.Patch.N) Remove hardcoded version strings; AssemblySharedInfo.tt is now the single source of truth for both DLL assembly versions and package versions.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the version source-of-truth used by the AssemblySharedInfo T4 template so that the product/package version (0.8.3) is aligned with the generated assembly version components, supporting CI/CD version correlation for Dynamo for Revit.
Changes:
- Updated
MajorVersion,MinorVersion, andBuildNumberinAssemblySharedInfo.ttfrom the Revit-year-based28.0.0to product version0.8.3. - Keeps assembly
AssemblyVersion/AssemblyFileVersiongeneration driven by the same template-defined version fields.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Mikhinja
requested changes
Apr 6, 2026
Collaborator
Mikhinja
left a comment
There was a problem hiding this comment.
No, it should be the other way around, the package build should be changed to follow this, do not change this version to match package version
…reads them, not sets them)
….tt, pipeline reads it)
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.
Summary
Jenkinsfile now reads the deploy version from
DynamoRevit/src/AssemblySharedInfoGenerator/AssemblySharedInfo.tt(parsingMajorVersion,MinorVersion,BuildNumber) instead of a hardcoded value.AssemblySharedInfo.ttis not modified — it remains the single source of truth controlled by developers.A new
CONTENT_ONLYboolean parameter is added:false(default): deploy version matches the binary version fromAssemblySharedInfo.ttexactly (e.g.0.8.3)true: build number is appended as a suffix (e.g.0.8.3-42) for content-only deploys (samples, templates, node help files)Changes
Jenkinsfile: addedCONTENT_ONLYparam, version read fromAssemblySharedInfo.ttin Deploy stage and build display name