Skip to content

Commit 77f4e9f

Browse files
committed
Fixing some prod release steps.
Bumping versions. Removing test.yml
1 parent 01197f5 commit 77f4e9f

File tree

3 files changed

+10
-67
lines changed

3 files changed

+10
-67
lines changed

.github/workflows/get_versions.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
getting_versions:
2424
env:
2525
#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"
2929
name: Set version numbers
3030
runs-on: ubuntu-latest
3131
defaults:

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
env:
1212
solution: MaterialDesignToolkit.Full.sln
1313
# Needed for GitHub CLI
14-
GH_TOKEN: ${{ github.token }}
14+
GITHUB_TOKEN: ${{ github.token }}
1515

1616
defaults:
1717
run:
@@ -217,6 +217,7 @@ jobs:
217217
run: |
218218
git config --local user.email "github-actions[bot]@users.noreply.github.com"
219219
git config --local user.name "github-actions[bot]"
220+
git add .
220221
git commit -m "[automated] Update Wiki with icon changes for ${{ inputs.milestone }}" --all
221222
git push
222223
@@ -262,9 +263,12 @@ jobs:
262263
- name: Close Milestone
263264
run: |
264265
gh extension install valeriobelli/gh-milestone
266+
Write-Host "Using extension version $(gh milestone --version)"
265267
$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
267269
gh milestone edit $milestoneNumber --state closed
270+
env:
271+
GITHUB_TOKEN: ${{ secrets.SA_PAT }}
268272

269273
update_version_numbers:
270274
needs: [create_release]
@@ -312,4 +316,5 @@ jobs:
312316
git config --local user.email "github-actions[bot]@users.noreply.github.com"
313317
git config --local user.name "github-actions[bot]"
314318
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 }}
315320
git push

.github/workflows/test.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)