Skip to content

Commit

Permalink
Update create_version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DARKDRAGON-LK authored Apr 9, 2024
1 parent 67cbbd0 commit 49b4612
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
push:
branches:
- master

#pull_request:
# The branches below must be a subset of the branches above
# branches: [ "master" ]

jobs:
update_version_and_readme:
Expand Down Expand Up @@ -49,8 +45,11 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Stage changes
run: |
git add VERSION.txt README.md .github/counter.txt
- name: Commit version and README update
run: |
git add VERSION.txt README.md
git commit -m "Update version to 3.0.0.${{ steps.current_date.outputs.date }}.${{ steps.increment_counter.outputs.counter }}"
git push

0 comments on commit 49b4612

Please sign in to comment.