Skip to content

Commit

Permalink
Create branch while commiting
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Jun 4, 2024
1 parent 42f92e8 commit 5ff3e05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-process_feature-freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
ref: ${{ matrix.main_branch }}
token: ${{ secrets.CURA_AUTORELEASE_PAT }}

- name: Create branch and update conan package version
- name: Update conan package version
run: |
git checkout -b ${{ needs.parse-version.outputs.branch_name }}
PACKAGE_VERSION=${{ needs.parse-version.outputs.package_version }}
sed -i "s/version:.*/version: \"$PACKAGE_VERSION\"/g" conandata.yml
- name: Commit new package version
- name: Create branch and commit
uses: stefanzweifel/[email protected]
with:
commit_message: Set conan package version ${{ needs.parse-version.outputs.package_version }}
file_pattern: conandata.yml
branch: ${{ needs.parse-version.outputs.branch_name }}
create_branch: true

0 comments on commit 5ff3e05

Please sign in to comment.