-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67cbbd0
commit 49b4612
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |