From f064bb9c80f29b19cda68e67b5d903d5c1dd5df1 Mon Sep 17 00:00:00 2001 From: pulpbot Date: Sun, 20 Aug 2023 02:34:17 +0000 Subject: [PATCH] Update CI files [noissue] --- .github/template_gitref | 2 +- .github/workflows/create-branch.yml | 10 +++++----- template_config.yml | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/template_gitref b/.github/template_gitref index 8f9ce5e5..0459ba4a 100644 --- a/.github/template_gitref +++ b/.github/template_gitref @@ -1 +1 @@ -2021.08.26-240-gd3a60ef +2021.08.26-241-g9cfc63e diff --git a/.github/workflows/create-branch.yml b/.github/workflows/create-branch.yml index 3f98d155..07dadc30 100644 --- a/.github/workflows/create-branch.yml +++ b/.github/workflows/create-branch.yml @@ -36,7 +36,7 @@ jobs: - name: Install python dependencies run: | echo ::group::PYDEPS - pip install bump2version + pip install bump2version jinja2 pyyaml echo ::endgroup:: - name: Setting secrets @@ -47,16 +47,16 @@ jobs: - name: Verify that branch name matches current version string on main branch run: | X_Y_VERSION=$(grep version setup.py | sed -rn 's/version="(.*)\.0((a[0-9]+)|(b[0-9]+))?\.dev",/\1/p' | awk '{$1=$1};1') - if [[ "$X_Y_VERSION" != "${{ github.event.inputs.name }}" ]] + if [[ "$X_Y_VERSION" != "${{ inputs.name }}" ]] then echo "Branch name doesn't match the current version string $X_Y_VERSION." exit 1 fi - - name: Create ${{ github.event.inputs.name }} release branch + - name: Create ${{ inputs.name }} release branch run: | - git checkout -b ${{ github.event.inputs.name }} - git push origin ${{ github.event.inputs.name }} + git checkout -b ${{ inputs.name }} + git push origin ${{ inputs.name }} - name: Bump version on main branch run: | diff --git a/template_config.yml b/template_config.yml index fce63fab..907794cc 100644 --- a/template_config.yml +++ b/template_config.yml @@ -1,7 +1,7 @@ # This config represents the latest values used when running the plugin-template. Any settings that # were not present before running plugin-template have been added with their default values. -# generated with plugin_template@2021.08.26-240-gd3a60ef +# generated with plugin_template@2021.08.26-241-g9cfc63e additional_repos: - branch: main @@ -21,6 +21,7 @@ ci_update_branches: - '1.13' - '1.14' ci_update_docs: true +ci_update_release_behavior: null cli_package: pulp-cli cli_repo: https://github.com/pulp/pulp-cli.git core_import_allowed: []