Skip to content

Commit b6ac69f

Browse files
committed
release: v0.4.1
1 parent da00a26 commit b6ac69f

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

.scripts/release.ps1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
$version = $args[0];
2+
3+
$path = "Cargo.toml"
4+
(Get-Content $path) -replace "version = `"[0-9].[0-9].[0-9]`"", "version = `"$version`"" | Set-Content $path
5+
6+
$path = "installer.nsi"
7+
(Get-Content $path) -replace "VERSION `"[0-9].[0-9].[0-9]`"", "VERSION `"$version`"" | Set-Content $path
8+
9+
$path = "CHANGELOG.md"
10+
(Get-Content $path) -replace "# Unreleased", "# $version" | Set-Content $path
11+
12+
Start-Sleep -Seconds 2
13+
14+
git add .
15+
git commit -m "release: v$version";
16+
git push
17+
git tag "v$version"
18+
git push --tags

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# 0.4.1
22

33
## Fixed
44

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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "komorebi-switcher"
33
description = "A minimal workspace switcher for the Komorebi tiling window manager, seamlessly integrated into Windows 10/11 taskbar."
4-
version = "0.4.0"
4+
version = "0.4.1"
55
edition = "2021"
66
license = "MIT"
77

installer.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RequestExecutionLevel user
1515
!define PRODUCTNAME "komorebi-switcher"
1616
!define MAINBINARYNAME "komorebi-switcher.exe"
1717
!define UNINSTKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCTNAME}"
18-
!define VERSION "0.4.0"
18+
!define VERSION "0.4.1"
1919

2020
Var AppStartMenuFolder
2121

@@ -77,4 +77,4 @@ SectionEnd
7777

7878
Function CreateDesktopShortcut
7979
CreateShortcut "$DESKTOP\${PRODUCTNAME}.lnk" "$INSTDIR\${MAINBINARYNAME}"
80-
FunctionEnd
80+
FunctionEnd

0 commit comments

Comments
 (0)