File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 25
25
project_path : " ./cmd"
26
26
binary_name : " lemmego"
27
27
compress_assets : ' OFF'
28
- extra_files : installer.sh installer.ps1
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ function Install-Lemmego {
8
8
9
9
if ($arch -match " 64-bit" ) {
10
10
if ($env: PROCESSOR_ARCHITEW6432 -eq " ARM64" ) {
11
- $downloadUrl = " https://github.com/lemmego/cli/releases/download/v0.1.2 /lemmego-v0.1.2 -windows-arm64.exe"
11
+ $downloadUrl = " https://github.com/lemmego/cli/releases/download/v0.1.3 /lemmego-v0.1.3 -windows-arm64.exe"
12
12
} else {
13
- $downloadUrl = " https://github.com/lemmego/cli/releases/download/v0.1.2 /lemmego-v0.1.2 -windows-amd64.exe"
13
+ $downloadUrl = " https://github.com/lemmego/cli/releases/download/v0.1.3 /lemmego-v0.1.3 -windows-amd64.exe"
14
14
}
15
15
} else {
16
16
Write-Host " Unsupported architecture: $arch "
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ download_binary() {
10
10
case $OS in
11
11
darwin|linux)
12
12
if [ " $ARCH " = " amd64" ]; then
13
- download_url=" https://github.com/lemmego/cli/releases/download/v0.1.2 /lemmego-v0.1.2 -$OS -amd64"
13
+ download_url=" https://github.com/lemmego/cli/releases/download/v0.1.3 /lemmego-v0.1.3 -$OS -amd64"
14
14
elif [ " $ARCH " = " arm64" ]; then
15
- download_url=" https://github.com/lemmego/cli/releases/download/v0.1.2 /lemmego-v0.1.2 -$OS -arm64"
15
+ download_url=" https://github.com/lemmego/cli/releases/download/v0.1.3 /lemmego-v0.1.3 -$OS -arm64"
16
16
fi
17
17
;;
18
18
* )
@@ -27,14 +27,14 @@ download_binary() {
27
27
fi
28
28
29
29
echo " Downloading: $download_url "
30
- curl -L " $download_url " -o " lemmego-v0.1.2 -$OS -$ARCH "
30
+ curl -L " $download_url " -o " lemmego-v0.1.3 -$OS -$ARCH "
31
31
if [ $? -ne 0 ]; then
32
32
echo " Download failed. Please check if you have enough disk space or permissions."
33
33
exit 1
34
34
fi
35
35
36
36
echo " Moving file to /usr/local/bin"
37
- sudo mv " lemmego-v0.1.2 -$OS -$ARCH " /usr/local/bin/lemmego
37
+ sudo mv " lemmego-v0.1.3 -$OS -$ARCH " /usr/local/bin/lemmego
38
38
if [ $? -ne 0 ]; then
39
39
echo " Failed to move file. You might need to run this script with sudo or check permissions."
40
40
exit 1
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ var shouldRunInteractively = false
15
15
var rootCmd = & cobra.Command {
16
16
Use : "" ,
17
17
Short : fmt .Sprintf ("%s" , os .Getenv ("APP_NAME" )),
18
- Version : "v0.1.2 " ,
18
+ Version : "v0.1.3 " ,
19
19
}
20
20
21
21
// AddCmd adds a new sub-command to the root command.
You can’t perform that action at this time.
0 commit comments