Skip to content

Commit 6fa8b87

Browse files
committed
chore: update lock file in release script
1 parent b23de63 commit 6fa8b87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.scripts/release.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ $version = $args[0];
33
$path = "Cargo.toml"
44
(Get-Content $path) -replace "version = `"[0-9]+.[0-9]+.[0-9]+`"", "version = `"$version`"" | Set-Content $path
55

6+
cargo update -p komorebi-switcher # update the lock file
7+
68
$path = "installer/installer.nsi"
79
(Get-Content $path) -replace "VERSION `"[0-9]+.[0-9]+.[0-9]+`"", "VERSION `"$version`"" | Set-Content $path
810

911
$path = "CHANGELOG.md"
1012
$date = Get-Date -Format "yyyy-MM-dd"
1113
(Get-Content $path) -replace "## \[Unreleased\]", "## [Unreleased]`n`n## [$version] - $date" | Set-Content $path
1214

13-
Start-Sleep -Seconds 2
14-
1515
git add .
1616
git commit -m "release: v$version";
1717
git push

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)