Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI files for branch main #164

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-240-gd3a60ef
2021.08.26-241-g9cfc63e
10 changes: 5 additions & 5 deletions .github/workflows/create-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion template_config.yml
Original file line number Diff line number Diff line change
@@ -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 [email protected]240-gd3a60ef
# generated with [email protected]241-g9cfc63e

additional_repos: []
api_root: /pulp/
Expand All @@ -14,6 +14,7 @@ ci_env: {}
ci_trigger: '{pull_request: {branches: [''*'']}}'
ci_update_branches: []
ci_update_docs: false
ci_update_release_behavior: null
cli_package: pulp-cli-maven
cli_repo: https://github.com/pulp/pulp-cli-maven.git
core_import_allowed: []
Expand Down
Loading