File tree Expand file tree Collapse file tree 3 files changed +10
-67
lines changed Expand file tree Collapse file tree 3 files changed +10
-67
lines changed Original file line number Diff line number Diff line change 23
23
getting_versions :
24
24
env :
25
25
# Update these base version numbers
26
- mdix-version : " 5.1.0 "
27
- mdix-colors-version : " 3.1.0 "
28
- mdix-mahapps-version : " 3.1.0 "
26
+ mdix-version : " 5.1.1 "
27
+ mdix-colors-version : " 3.1.1 "
28
+ mdix-mahapps-version : " 3.1.1 "
29
29
name : Set version numbers
30
30
runs-on : ubuntu-latest
31
31
defaults :
Original file line number Diff line number Diff line change 11
11
env :
12
12
solution : MaterialDesignToolkit.Full.sln
13
13
# Needed for GitHub CLI
14
- GH_TOKEN : ${{ github.token }}
14
+ GITHUB_TOKEN : ${{ github.token }}
15
15
16
16
defaults :
17
17
run :
@@ -217,6 +217,7 @@ jobs:
217
217
run : |
218
218
git config --local user.email "github-actions[bot]@users.noreply.github.com"
219
219
git config --local user.name "github-actions[bot]"
220
+ git add .
220
221
git commit -m "[automated] Update Wiki with icon changes for ${{ inputs.milestone }}" --all
221
222
git push
222
223
@@ -262,9 +263,12 @@ jobs:
262
263
- name : Close Milestone
263
264
run : |
264
265
gh extension install valeriobelli/gh-milestone
266
+ Write-Host "Using extension version $(gh milestone --version)"
265
267
$milestones = $(gh milestone list --json number,title) | ConvertFrom-Json
266
- $milestoneNumber = ($milestones | Where-Object { $_.title -eq "${{ inputs.milestone }} " }).number
268
+ $milestoneNumber = ($milestones | Where-Object { $_.title -eq "5.1.0 " }).number
267
269
gh milestone edit $milestoneNumber --state closed
270
+ env :
271
+ GITHUB_TOKEN : ${{ secrets.SA_PAT }}
268
272
269
273
update_version_numbers :
270
274
needs : [create_release]
@@ -312,4 +316,5 @@ jobs:
312
316
git config --local user.email "github-actions[bot]@users.noreply.github.com"
313
317
git config --local user.name "github-actions[bot]"
314
318
git commit -m "[automated] Increment version numbers after release of ${{ inputs.milestone }}" --all
319
+ git remote set-url origin https://${{ secrets.SA_PAT }}@github.com/${{ github.repository }}
315
320
git push
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments