Skip to content

ci: auto-publish releases after CI#6

Merged
im10furry merged 1 commit into
masterfrom
codex/auto-release-on-ci
Jul 6, 2026
Merged

ci: auto-publish releases after CI#6
im10furry merged 1 commit into
masterfrom
codex/auto-release-on-ci

Conversation

@im10furry

Copy link
Copy Markdown
Member

Summary

  • Add automatic Release publishing after CI succeeds on master push.
  • Keep existing tag-push and manual workflow_dispatch release paths working.
  • For automatic releases:
    • reuse an existing semver tag on the CI commit when present
    • otherwise bump the latest vMAJOR.MINOR.PATCH tag by one patch version
    • create the tag and publish the GitHub Release in the same workflow
    • skip safely when rerun after the release already exists
  • Add the new database module to CI test, vet, and build module lists.
  • Expand release gates to run all module tests and vet checks before building assets.

Notes

  • This intentionally does not rely on GITHUB_TOKEN pushing a tag to trigger another workflow. GitHub suppresses most workflow-triggering events created by GITHUB_TOKEN, so the tag creation and release publishing happen in one workflow run.
  • After this PR is merged, the next successful CI run on master should publish the next patch release. With the current latest tag, that means v0.1.4.

Validation

  • YAML parse check for .github/workflows/ci.yml and .github/workflows/release.yml
  • Automatic tag calculation dry run: v0.1.3 -> v0.1.4
  • go test -count=1 ./cmd/... ./internal/...
  • go vet ./cmd/... ./internal/...
  • all registry modules: go test -count=1 ./...
  • all registry modules: go vet ./...
  • go run ./cmd/scion doctor --strict
  • git diff --check

@im10furry im10furry force-pushed the codex/auto-release-on-ci branch from e8a6725 to cc0c6cd Compare July 6, 2026 05:08
@im10furry im10furry merged commit e4fb709 into master Jul 6, 2026
6 checks passed
@im10furry im10furry deleted the codex/auto-release-on-ci branch July 6, 2026 05:20
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