Skip to content

Conversation

@IanMayo
Copy link
Contributor

@IanMayo IanMayo commented Nov 29, 2025

Summary

  • Add tag-triggered release workflow (.github/workflows/release.yml)
  • Add release documentation (docs/RELEASE.md)
  • Update README with release process section

How It Works

  1. Push a vX.Y.Z tag to main branch
  2. Workflow runs CI checks (lint, test, build)
  3. Creates GitHub Release with auto-generated notes
  4. Attaches bundle artifacts (sonar-quiz.iife.js + source map)
  5. Updates package.json to match tag version

Test Plan

  • Verify workflow YAML syntax is valid
  • After merge, test by pushing v0.2.0 tag
  • Verify GitHub Release is created with artifacts
  • Verify package.json version is updated

Closes #88

- Add .github/workflows/release.yml for tag-triggered releases
- Trigger: push vX.Y.Z tag to main branch
- CI validation: lint, test, build must pass before release
- Auto-generates release notes from commits
- Attaches bundle artifacts (sonar-quiz.iife.js, source map)
- Syncs package.json version with tag version
- Add docs/RELEASE.md with complete release instructions
- Update README.md with release process section

Closes #88
@github-actions
Copy link
Contributor

🚀 PR Preview Deployment

✅ Your changes are being built and deployed to a preview environment.

📋 Live PR Preview Links:

ℹ️ About PR Previews:

  • Preview deploys automatically when you push commits to this PR
  • Preview URL is unique to this PR (feat: add release automation workflow #89)
  • Preview will be automatically deleted when this PR is closed/merged
  • Build ignores test failures (only requires successful compilation)

📦 Production Demo (main branch):

🧪 Testing Locally:

npm install
npm run build
# Open demo/quiz-index.html in your browser (use file:// or http-server)

This comment will be automatically updated when you push new commits.

github-actions bot added a commit that referenced this pull request Nov 29, 2025
@IanMayo IanMayo merged commit b77fae2 into main Nov 29, 2025
7 checks passed
@IanMayo IanMayo deleted the 011-release-automation branch November 29, 2025 15:29
github-actions bot added a commit that referenced this pull request Nov 29, 2025
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.

Release policy / mechanism

2 participants