Skip to content

Commit cfc0244

Browse files
committed
Update installers
1 parent 3a8ebf7 commit cfc0244

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ jobs:
2525
project_path: "./cmd"
2626
binary_name: "lemmego"
2727
compress_assets: 'OFF'
28-
extra_files: installer.sh installer.ps1

installer.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ function Install-Lemmego {
88

99
if ($arch -match "64-bit") {
1010
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"
1212
} 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"
1414
}
1515
} else {
1616
Write-Host "Unsupported architecture: $arch"

installer.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ download_binary() {
1010
case $OS in
1111
darwin|linux)
1212
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"
1414
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"
1616
fi
1717
;;
1818
*)
@@ -27,14 +27,14 @@ download_binary() {
2727
fi
2828

2929
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"
3131
if [ $? -ne 0 ]; then
3232
echo "Download failed. Please check if you have enough disk space or permissions."
3333
exit 1
3434
fi
3535

3636
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
3838
if [ $? -ne 0 ]; then
3939
echo "Failed to move file. You might need to run this script with sudo or check permissions."
4040
exit 1

root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var shouldRunInteractively = false
1515
var rootCmd = &cobra.Command{
1616
Use: "",
1717
Short: fmt.Sprintf("%s", os.Getenv("APP_NAME")),
18-
Version: "v0.1.2",
18+
Version: "v0.1.3",
1919
}
2020

2121
// AddCmd adds a new sub-command to the root command.

0 commit comments

Comments
 (0)