From d40a675cab6b6e8c7631d503358016d427bdac3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20=C5=A0imko?= Date: Wed, 10 Jan 2024 16:36:38 +0100 Subject: [PATCH] ci(release-please): initial configuration (#191) --- .github/workflows/release-please.yml | 20 ++++++++++++++++++++ .release-please-config.json | 24 ++++++++++++++++++++++++ .release-please-manifest.json | 3 +++ CHANGELOG.md | 0 LICENSE | 2 +- MANIFEST.in | 10 ++++++---- 6 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-config.json create mode 100644 .release-please-manifest.json create mode 100644 CHANGELOG.md 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..a418abc --- /dev/null +++ b/.release-please-config.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "include-v-in-tag": false, + "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 } + ], + "versioning": "always-bump-patch" + } + }, + "pull-request-footer": " ", + "pull-request-header": " ", + "release-type": "python" +} 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/LICENSE b/LICENSE index 5ce0385..c1b8cb3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023 CERN. +Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023, 2024 CERN. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/MANIFEST.in b/MANIFEST.in index 46dfde7..af58b61 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,18 +1,20 @@ # This file is part of REANA. -# Copyright (C) 2018, 2019, 2020, 2021 CERN. +# Copyright (C) 2018, 2019, 2020, 2021, 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 .dockerignore -include LICENSE +include *.json +include *.md include *.rst include *.sh include *.txt include *.yaml +include .dockerignore include .flake8 -include pytest.ini include Dockerfile +include LICENSE +include pytest.ini exclude .readthedocs.yaml prune docs/_build recursive-include reana_workflow_engine_serial *.py