diff --git a/.github/workflows/update_ci.yml b/.github/workflows/update_ci.yml index 82ae94a..9971821 100644 --- a/.github/workflows/update_ci.yml +++ b/.github/workflows/update_ci.yml @@ -72,4 +72,35 @@ jobs: env: GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" continue-on-error: true + - uses: "actions/checkout@v6" + with: + fetch-depth: 0 + path: "pulp_rust" + ref: "0.0" + + - name: "Run update" + working-directory: "pulp_rust" + run: | + ../plugin_template/scripts/update_ci.sh --release + + - name: "Create Pull Request for CI files" + uses: "peter-evans/create-pull-request@v8" + id: "create_pr_0_0" + with: + token: "${{ secrets.RELEASE_TOKEN }}" + path: "pulp_rust" + committer: "pulpbot " + author: "pulpbot " + title: "Update CI files for branch 0.0" + branch: "update-ci/0.0" + base: "0.0" + delete-branch: true + - name: "Mark PR automerge" + working-directory: "pulp_rust" + run: | + gh pr merge --rebase --auto "${{ steps.create_pr_0_0.outputs.pull-request-number }}" + if: "steps.create_pr_0_0.outputs.pull-request-number" + env: + GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}" + continue-on-error: true ... diff --git a/pulp_rust/app/__init__.py b/pulp_rust/app/__init__.py index 23f1d01..35ad12a 100755 --- a/pulp_rust/app/__init__.py +++ b/pulp_rust/app/__init__.py @@ -6,6 +6,6 @@ class PulpRustPluginAppConfig(PulpPluginAppConfig): name = "pulp_rust.app" label = "rust" - version = "0.0.0.dev" + version = "0.1.0.dev" python_package_name = "pulp_rust" domain_compatible = True diff --git a/pyproject.toml b/pyproject.toml index d705dc9..6285d99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta' [project] name = "pulp-rust" -version = "0.0.0.dev" +version = "0.1.0.dev" description = "pulp-rust plugin for the Pulp Project" readme = "README.md" authors = [ @@ -123,7 +123,7 @@ ignore = [ [tool.bumpversion] # This section is managed by the plugin template. Do not edit manually. -current_version = "0.0.0.dev" +current_version = "0.1.0.dev" commit = false tag = false parse = "(?P\\d+)\\.(?P\\d+)\\.(?P0a)?(?P\\d+)(\\.(?P[a-z]+))?" diff --git a/template_config.yml b/template_config.yml index 19edd2a..b49453c 100644 --- a/template_config.yml +++ b/template_config.yml @@ -26,7 +26,7 @@ extra_files: [] flake8: true flake8_ignore: [] github_org: "pulp" -latest_release_branch: null +latest_release_branch: "0.0" lint_requirements: true os_required_packages: [] parallel_test_workers: 8