Skip to content

Commit 05dc9b7

Browse files
Fix indentation
1 parent 6d04ba3 commit 05dc9b7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/update-main-version.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ jobs:
1515
contents: write
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v6
19-
with:
20-
fetch-depth: 0
21-
- name: Configure Git
22-
run: |
23-
git config user.email 'github-actions[bot]@users.noreply.github.com'
24-
git config user.name 'github-actions[bot]'
25-
- name: Set main version
26-
id: set-main-version
27-
run: |
28-
main_version="$(echo "${{ github.ref_name }}" | grep -oP "^(v\d+)")"
29-
echo "main-version=${main_version}" >> "${GITHUB_OUTPUT}"
30-
- name: Tag new target
31-
run: git tag --force ${{ steps.set-main-version.outputs.main-version }} ${{ github.ref_name }}
32-
- name: Push new tag
33-
run: git push --force origin ${{ steps.set-main-version.outputs.main-version }}
18+
- uses: actions/checkout@v6
19+
with:
20+
fetch-depth: 0
21+
- name: Configure Git
22+
run: |
23+
git config user.email 'github-actions[bot]@users.noreply.github.com'
24+
git config user.name 'github-actions[bot]'
25+
- name: Set main version
26+
id: set-main-version
27+
run: |
28+
main_version="$(echo "${{ github.ref_name }}" | grep -oP "^(v\d+)")"
29+
echo "main-version=${main_version}" >> "${GITHUB_OUTPUT}"
30+
- name: Tag new target
31+
run: git tag --force ${{ steps.set-main-version.outputs.main-version }} ${{ github.ref_name }}
32+
- name: Push new tag
33+
run: git push --force origin ${{ steps.set-main-version.outputs.main-version }}

0 commit comments

Comments
 (0)