Skip to content

Commit 806d550

Browse files
committed
fix it
1 parent 649e416 commit 806d550

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build-and-release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ jobs:
3838
token: ${{ steps.app-token.outputs.token }}
3939
repository: github/backup-utils
4040
- name: Create empty commit in backup-utils
41-
id: empty-commit
42-
env:
43-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
44-
run: |
45-
git config user.name "release-controller[bot]"
46-
git config user.email "[email protected]"
47-
git remote set-url origin https://[email protected]/github/backup-utils.git
48-
git fetch origin tims-test-branch
49-
git checkout tims-test-branch
50-
git commit --allow-empty -m "${{ github.event.inputs.version }} release"
51-
git push origin tims-test-branch
52-
echo "commit-sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
41+
id: empty-commit
42+
env:
43+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
44+
run: |
45+
git config user.name "release-controller[bot]"
46+
git config user.email "[email protected]"
47+
git remote set-url origin https://[email protected]/github/backup-utils.git
48+
git fetch origin tims-test-branch
49+
git checkout tims-test-branch
50+
git commit --allow-empty -m "${{ github.event.inputs.version }} release"
51+
git push origin tims-test-branch
52+
echo "commit-sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
5353
# create tags for the build scripts to work
5454
# if empty_commit is successful, then echo success
5555
- name: Echo success

0 commit comments

Comments
 (0)