Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wooly905 authored Nov 24, 2024
1 parent 47e666d commit f01658d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,15 @@ jobs:
run: |
git config user.name "prs"
git config user.email ""
git checkout -b update-package-version
$branch-name = "update-package-version-$prevision"
git checkout -b $branch-name
git add .
git commit -m "Update revision number to $new_package_version"
git push origin update-package-version
git push origin $branch-name
- name: Merge Temporary Branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create --title "Update revision number" --body "Automated update of PackageVersion" --base main --head update-package-version
gh pr create --title "Update revision number" --body "Automated update of PackageVersion" --base main --head $branch-name
gh pr merge --merge --auto --delete-branch

0 comments on commit f01658d

Please sign in to comment.