Skip to content

ci: upload release artifact files recursively - #176

Merged
scottconverse merged 1 commit into
mainfrom
fix/civicclerk-release-asset-upload
Jun 13, 2026
Merged

scottconverse merged 1 commit into
mainfrom
fix/civicclerk-release-asset-upload

Conversation

@scottconverse

Copy link
Copy Markdown
Contributor

Summary

  • Fix the v1.0.4 release workflow asset upload step so downloaded artifact directories do not get passed to gh release upload.
  • Add stale-draft cleanup for the same tag while refusing to overwrite already-published releases.
  • Extend the workflow test to lock the recursive file upload and draft safety behavior.

Root Cause

The release artifact download preserves the original dist/ directory. The workflow uploaded release-assets/*, so gh attempted to upload release-assets/dist as a file and failed after creating a partial draft release.

Validation

  • python -m pytest tests\\test_github_workflows.py -> 2 passed.
  • YAML parse of all .github/workflows/*.yml -> YAML_OK.
  • git diff --check -> no whitespace errors.

Signed-off-by: Scott Converse <scott@localhost>
@scottconverse
scottconverse merged commit dae807e into main Jun 13, 2026
1 check passed
@scottconverse
scottconverse deleted the fix/civicclerk-release-asset-upload branch June 13, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant