Skip to content

Commit

Permalink
test version upodate
Browse files Browse the repository at this point in the history
  • Loading branch information
carlHandy committed Jul 18, 2024
1 parent 334c8d2 commit 09c2fdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ git config --local user.name "GitHub Action"
git add main.php
git commit -m "Bump version to $NEW_VERSION"

# Push the change
git push
# Push the change to the main branch
git push origin HEAD:main
4 changes: 4 additions & 0 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
with:
fetch-depth: 0
- name: Update version in main.php
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
chmod +x .github/scripts/update-version.sh
.github/scripts/update-version.sh

0 comments on commit 09c2fdc

Please sign in to comment.