Skip to content

Commit

Permalink
build: release-please configuration OH-81
Browse files Browse the repository at this point in the history
  • Loading branch information
terovirtanen committed Apr 10, 2024
1 parent 0384e33 commit 680d2a8
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# .github/workflows/release-please.yml
name: release-please
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.0"
}
8 changes: 3 additions & 5 deletions azure-pipelines-release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger:
branches:
batch: true
tags:
include:
- release
paths:
exclude:
- README.md
- atv-v*

# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
Expand Down
25 changes: 25 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"bootstrap-sha": "0384e330f24baa4fbc43fa9fb2d283b59d25090b",
"sequential-calls": true,
"packages": {
".": {
"release-type": "python",
"package-name": "atv",
"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"]
}

0 comments on commit 680d2a8

Please sign in to comment.