UNPKG

xrelease

Version:

xrelease (pronounced cross-release) helps you setup automated releases for your project for any language

35 lines (29 loc) 654 B
version: 1 release: # Branch configuration branch: main # Version bump type defaultBump: patch # Version file updates version: files: - path: 'package.json' pattern: "\"version\":\\s*\"(?<version>[^\"]+)\"" template: '"version": "${version}"' # Changelog configuration changelog: enabled: true template: conventional # Pre-release checks checks: - type: lint command: 'npm run lint' - type: test command: 'npm test' - type: build command: 'npm run build' # Release actions actions actions: - type: git-tag - type: commit-push - type: github-release