diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..253a7a6 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - maint-0.9 + - master + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + config-file: .release-please-config.json + target-branch: ${{ github.ref_name }} diff --git a/.release-please-config.json b/.release-please-config.json new file mode 100644 index 0000000..1d953d4 --- /dev/null +++ b/.release-please-config.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "include-v-in-tag": false, + "pull-request-header": " ", + "pull-request-footer": " ", + "release-type": "python", + "packages": { + ".": { + "changelog-sections": [ + { "type": "build", "section": "Build", "hidden": false }, + { "type": "feat", "section": "Features", "hidden": false }, + { "type": "fix", "section": "Bug fixes", "hidden": false }, + { "type": "perf", "section": "Performance improvements", "hidden": false }, + { "type": "refactor", "section": "Code refactoring", "hidden": false }, + { "type": "style", "section": "Code style", "hidden": false }, + { "type": "test", "section": "Test suite", "hidden": false }, + { "type": "ci", "section": "Continuous integration", "hidden": false }, + { "type": "docs", "section": "Documentation", "hidden": false }, + { "type": "chore", "section": "Chores", "hidden": true } + ] + } + } +} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..7e08ec6 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.9.2" +} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/MANIFEST.in b/MANIFEST.in index 755635b..39bbd68 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,11 +1,13 @@ # -*- coding: utf-8 -*- # # This file is part of REANA. -# Copyright (C) 2018, 2020, 2021, 2022 CERN. +# Copyright (C) 2018, 2020, 2021, 2022, 2024 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. +include *.json +include *.md include *.rst include *.sh include *.yaml