Testing runs the pre-commit trio on pushes to main and PRs. Releasing builds the snap on plain vX tags and publishes it to the stable store channel; rc tags fail the version gate and leave the publish job skipped.