Implement Release Packaging#67
Merged
alexrichey merged 4 commits intomainfrom Apr 9, 2026
Merged
Conversation
Creates releases with:
- metadata-assets-{version}.zip: All generated XLSX data dictionaries
- destination_versions.txt: Complete list of destination versions
- changed_versions.txt: Diff from previous release (added/changed/removed)
Workflow:
1. Manually triggered with release_version input
2. Checks out both data-engineering and product-metadata repos
3. Generates metadata assets using new CLI command
4. Generates destination versions list
5. Diffs against previous release (graceful fallback for first release)
6. Creates GitHub release with all artifacts
Usage:
Run manually from Actions tab, provide version (e.g., 24v3)
Changes: 1. Use 'dcpy' instead of 'python -m dcpy' (editable install) 2. Use 'dcpy lifecycle package metadata list-versions' instead of inline Python 3. Use 'dcpy lifecycle package metadata diff-versions' for version comparison 4. Simplify release notes (removed per-product details for now) Commands used: - dcpy lifecycle package metadata generate - dcpy lifecycle package metadata list-versions - dcpy lifecycle package metadata diff-versions
Removes Docker container overhead (~1GB download, slower startup). Uses actions/setup-python@v5 for Python 3.11 installation. Benefits: - Faster startup (no container pull) - Simpler dependency management - Sufficient for static file generation tasks
Outputs:
- changed_versions.txt: Human-readable diff
- changed_versions.json: Machine-readable for distribution workflows
JSON format enables downstream workflows to:
1. Parse changed/added destinations
2. Create distribution matrix: [{product, dataset, version}]
3. Spawn parallel distribution jobs per product.dataset
Example JSON usage in distribution workflow:
strategy:
matrix:
include: ${{ fromJson(needs.release.outputs.changed_destinations) }}
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.
No description provided.