handle major-feature
This commit is contained in:
Родитель
7ab47f1160
Коммит
68c71b97f0
|
@ -83,7 +83,10 @@ jobs:
|
||||||
- name: Get major-feature from version
|
- name: Get major-feature from version
|
||||||
id: get-major-feature
|
id: get-major-feature
|
||||||
run: |
|
run: |
|
||||||
echo "major-feature=\"$(echo "${{ github.event.inputs.version }}" | cut -d '.' -f 1,2)\"" >> "$GITHUB_OUTPUT"
|
echo "MAJOR_FEATURE=$(echo "${{ github.event.inputs.version }} | cut -d '.' -f 1,2)" >> "$GITHUB_ENV"
|
||||||
|
- name: Verify major-feature
|
||||||
|
run: |
|
||||||
|
echo "major_feature: $MAJOR_FEATURE"
|
||||||
- name: Checkout backup-utils
|
- name: Checkout backup-utils
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -93,7 +96,7 @@ jobs:
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
id: empty-commit
|
id: empty-commit
|
||||||
with:
|
with:
|
||||||
branch: ${{ steps.get-major-feature.outputs.major-feature}}-stable
|
branch: ${{ env.MAJOR_FEATURE }}-stable
|
||||||
commit_message: "Test ${{ github.event.inputs.version }} release commit"
|
commit_message: "Test ${{ github.event.inputs.version }} release commit"
|
||||||
commit_user_name: "release-controller[bot]"
|
commit_user_name: "release-controller[bot]"
|
||||||
commit_user_email: "223695+release-controller[bot]@users.noreply.github.com"
|
commit_user_email: "223695+release-controller[bot]@users.noreply.github.com"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче