UNPKG

xrelease

Version:

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

45 lines (37 loc) 820 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 steps pre: - type: install command: 'npm install' - type: build command: 'npm run build' # Pre-release checks checks: - type: lint command: 'npm run lint' - type: test command: 'npm test' # Release actions actions actions: - type: git-tag - type: commit-push - type: github-release # Post-release steps # post: # - type: clean # command: 'npm run clean'