Repository navigation
Add v1.0.0 release automation with complete self-hosted ZIP + curated release notes - #1
Merged
Merged
Conversation
Co-authored-by: Noble-Effeciency13 <84348626+Noble-Effeciency13@users.noreply.github.com>
Co-authored-by: Noble-Effeciency13 <84348626+Noble-Effeciency13@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create first release v1.0.0 with deployment package and notes
Add v1.0.0 release automation with complete self-hosted ZIP + curated release notes
Aug 30, 2026
Noble-Effeciency13
approved these changes
Aug 30, 2026
There was a problem hiding this comment.
🟡 Changes recommended
The workflow uses the tag value in filesystem paths without validation, allowing path traversal/unsafe filenames (notably via workflow_dispatch inputs).
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds release automation for v1.0.0 by packaging a self-host-ready ZIP artifact (not just dist/) and publishing curated, versioned release notes from the repo instead of auto-generated notes.
Changes:
- Stage a dedicated
release-package/directory containingdist/plus required self-hosting/reference files, then zip it asentra-extensions-manager-${tag}.zip. - Add a release-notes preparation step that sources
.github/release-notes/${tag}.mdwith a fallback message when absent. - Update the release publish step to create/edit releases using
--notes-filerather than--generate-notes.
File summaries
| File | Description |
|---|---|
| .github/workflows/release.yml | Packages a deploy-ready ZIP and publishes curated notes during release create/update. |
| .github/release-notes/v1.0.0.md | Adds versioned, curated release notes for the v1.0.0 release. |
Review details
Suppressed comments (1)
.github/workflows/release.yml:58
tagis used to constructnotes_fileunder.github/release-notes/. Without validation, a tag containing/or..can traverse directories and publish unintended repository files as release notes (especially viaworkflow_dispatch). Reject unsafe tag values before building the path.
tag="${{ github.event.inputs.tag || github.ref_name }}"
notes_file=".github/release-notes/${tag}.md"
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
40
to
+43
| tag="${{ github.event.inputs.tag || github.ref_name }}" | ||
| asset="entra-extensions-manager-${tag}.zip" | ||
| cd dist | ||
| zip -r "../${asset}" . | ||
| package_dir="release-package" | ||
| rm -rf "${package_dir}" |
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
Establishes production release plumbing for
v1.0.0: CI now builds and publishes a deploy-ready ZIP asset, and release creation uses curated notes instead of autogenerated text.Ensures the release artifact matches self-hosting expectations in the README (download, extract, edit
config.js, host static files; no build required).Release packaging
dist/plus required deploy/reference files, and zips asentra-extensions-manager-${tag}.zip.config.js,README.md,LICENSE,staticwebapp.config.json,.env.example.Release notes source
.github/release-notes/v1.0.0.md.Workflow hardening
Validation
npm run lintnpm run testnpm run buildChecklist
CHANGELOG.mdupdated for user-facing changes.Notes for reviewers
.github/release-notes/so future releases can be edited independently.