Conversation
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ntic-release, add dynamic branch for dry-run release
- Now cache key can be hashed with go.sum file. Optimization
Using base.ref (main) causes semantic-release to silently skip analysis because the current HEAD commit is not on main. Using head.ref (the PR branch) lets semantic-release actually process the commits.
…n release dry-run job Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
logs of dry-run semantic-release: Run npx semantic-release --branches "$BRANCH_REF" --dry-run Need to recognize way to check possibility to guaranteed release version after merge PRs. |
BRANCH_REF was referenced but never set. Assign it from head.ref so semantic-release actually processes the PR branch commits instead of silently skipping because HEAD is not on main.
semantic-release refuses to analyze commits on PR branches, making the dry-run a no-op. Commitlint already validates commit messages (the main failure mode). Added workflow_dispatch to release.yml for manual recovery if release automation breaks on main.
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 0.0.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
1 similar comment
|
🎉 This PR is included in version 0.0.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
CI/CD infrastructure for otelext
Bootstrap the project with CI quality gates and automated semantic versioning.
CI workflow (
ci.yml) — runs on PRs tomainThree parallel jobs:
golangci-lintv2.4.0 with 80+ linters enabled, only reports new issuesgo-taskRelease workflow (
release.yml) — runs on push tomain+ manual dispatchRuns
semantic-releaseto automatically create GitHub releases with version bumps based on commit types:feat→ minorfix/docs/chore→ patchBREAKING CHANGE→ majorIncludes
workflow_dispatchtrigger for manual recovery if release automation needs re-running.Configuration files
.golangci.yaml.releaserc.json.commitlintrc.jsonTaskfile.yamltest(unit tests + benchmarks),lint.editorconfigNode.js tooling
package.jsondeclares devDependencies for commitlint and semantic-release. Both CI and Release workflows usenpm ciwithcache: npmfor fast installs.Temporary
stub.go— placeholder so Go toolchain has something to compile until real code is added.