File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,21 @@ jobs:
1414 uses : actions/checkout@v3
1515 with :
1616 ref : ${{ github.event.repository.default_branch }}
17+
18+ - name : Setup the Git user
19+ run : |
20+ git config user.name "GitHub Actions Bot"
21+ git config user.email "<>"
1722
1823 - name : Append -beta onto the plugin version in the plugin header
1924 run : |
2025 VERSION=$(jq -r .version package.json)
2126 sed -i 's/Version: .*/Version: '"$VERSION"-beta'/' class-plugin-check.php
2227
28+ - name : Download the plugin-scan script from the submodule
29+ run : |
30+ git submodule update --init --recursive
31+
2332 - name : Build Plugin Check
2433 run : npm run build
2534
Original file line number Diff line number Diff line change 1313 uses : actions/checkout@v3
1414 with :
1515 ref : ${{ github.event.repository.default_branch }}
16+
17+ - name : Setup the Git user
18+ run : |
19+ git config user.name "GitHub Actions Bot"
20+ git config user.email "<>"
1621
1722 - name : Set version
1823 run : |
3035 run : |
3136 echo -e "${{ github.event.milestone.title }} / $(date +%Y-%m-%d)\n===================\n${{ github.event.milestone.description }}\n\n$(cat changelog.txt)" > changelog.txt
3237
38+ - name : Download the plugin-scan script from the submodule
39+ run : |
40+ git submodule update --init --recursive
41+
3342 - name : Run version update
3443 run : |
3544 npm --no-git-tag-version version $NEW_TAG_VERSION
3847 - name : Build Plugin Check
3948 run : npm run build
4049
41- - name : Setup the Git user
42- run : |
43- git config user.name "GitHub Actions Bot"
44- git config user.email "<>"
45-
4650 - name : Publish new tag
4751 run : |
4852 git tag $NEW_TAG_VERSION
You can’t perform that action at this time.
0 commit comments