diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..7daa3ba --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,15 @@ +name: release-please +on: + push: + branches: + - main + schedule: + - cron: '1 0 * * *' + +permissions: + contents: write + pull-requests: write + +jobs: + common: + uses: City-of-Helsinki/.github/.github/workflows/release-please.yml@main diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..37fcefa --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.0" +} diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml index 5735979..7ba54a2 100755 --- a/azure-pipelines-release.yml +++ b/azure-pipelines-release.yml @@ -7,7 +7,7 @@ trigger: batch: true tags: include: - - release-* + - sports-maintenance-dashboard-* paths: exclude: - README.md diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..56bacf5 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,25 @@ +{ + "bootstrap-sha": "6cefdea78a9c3f8c77a102c31e8ff744d3fbca85", + "sequential-calls": true, + "packages": { + ".": { + "release-type": "node", + "package-name": "sports-maintenance-dashboard", + "changelog-sections": [ + {"type": "feat", "section": "Features"}, + {"type": "fix", "section": "Bug Fixes"}, + {"type": "perf", "section": "Performance Improvements"}, + {"type": "deps", "section": "Dependencies"}, + {"type": "revert", "section": "Reverts"}, + {"type": "docs", "section": "Documentation"}, + {"type": "style", "section": "Styles", "hidden": true}, + {"type": "chore", "section": "Miscellaneous Chores", "hidden": true}, + {"type": "refactor", "section": "Code Refactoring", "hidden": true}, + {"type": "test", "section": "Tests", "hidden": true}, + {"type": "build", "section": "Build System", "hidden": true}, + {"type": "ci", "section": "Continuous Integration", "hidden": true} + ] + } + }, + "plugins": ["sentence-case"] +}