Release process

June 29, 2026 ยท View on GitHub

This document defines how pushapp-ionic is versioned, validated, and published.

Semantic versioning

We follow SemVer 2.0:

BumpWhen
MAJORBreaking public API, minimum platform change, or behavior change that requires integrator action
MINORNew backward-compatible features (new methods, optional init flags)
PATCHBug fixes, security patches, internal/native fixes with no API change

Public API includes:

  • TypeScript exports (src/definitions.ts, src/errors.ts, src/index.ts)
  • Capacitor plugin method names and option shapes
  • Documented minimum platforms (iOS, Android)
  • Stable PushAppErrorCode string values (treat renames as breaking)

Pre-release checklist

Before tagging vX.Y.Z:

npm install
npm run lint
npm test
npm run test:contract
npm run verify        # build + Android tests + SwiftLint (macOS for SwiftLint)
  • CHANGELOG.md updated under [X.Y.Z]
  • package.json version matches tag
  • Native platform mins documented in README + Integration Guide
  • No secrets/webhooks in repo
  • QA Test Plan executed for release candidate (device matrix)

Publishing to npm

  1. Merge release PR to main.

  2. Create and push an annotated tag:

    git tag -a v0.1.1 -m "pushapp-ionic 0.1.1"
    git push origin v0.1.1
    
  3. GitHub Actions Release workflow creates a GitHub Release from the tag.

  4. Publish to npm (maintainers):

    npm publish --access public
    

    prepublishOnly runs npm run build automatically.

CocoaPods / SPM

  • CocoaPods: version is read from package.json via PushappIonic.podspec. After npm publish, push the same git tag; integrators run pod update PushappIonic.
  • SPM: consumers pin the git tag (e.g. 0.1.1) in Package.swift. Note: SPM does not include EasyTipView; CocoaPods is the supported path for tooltip campaigns on iOS.
StageAction
SandboxPin 0.1.1, sandbox: true, no slackWebhookUrl in prod builds
StagingFull QA Test Plan; verify error-code handling in app
ProductionPin exact version; legal/privacy review; monitor Logcat/Xcode for token leaks

Support policy

  • 1.x receives bug fixes and security patches.
  • Report issues: GitHub Issues.