Skip to content

Commit 3b6b071

Browse files
authored
Merge pull request #124 from Keyfactor/release-1.3
Installer fix (#123)
2 parents 7a2b09f + 9656029 commit 3b6b071

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v4
1717
with:
18-
go-version: "1.20"
18+
go-version: "1.21"
1919
- name: Install dependencies
2020
run: go mod download && go mod tidy
2121
- name: Install Azure CLI

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# v1.3.1
2+
3+
## Bug Fixes
4+
5+
### Package
6+
- Bump package version to `1.3.1` to fix an issue with the `1.3.0` release.
7+
8+
### Installer
9+
- Remove `v` prefix from installer URL path to accommodate for the new build process.
10+
111
# v1.3.0
212
## Features
313

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ Keyfactor Command Utility (kfutil) is open source and there is **no SLA** for th
2929

3030
#### Linux/MacOS
3131
```bash
32-
curl -fsSL -o get-kfutil.sh https://raw.githubusercontent.com/Keyfactor/kfutil/main/install.sh
33-
chmod +x get-kfutil.sh
34-
# Install kfutil to $HOME/.local/bin. Use -h for help and examples.
35-
./get-kfutil.sh
32+
bash <(curl -s https://raw.githubusercontent.com/Keyfactor/kfutil/main/install.sh)
3633
````
3734

3835
#### Windows (or Linux/MacOS if PowerShell is preferred)

install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ function Get-BinaryAndSum {
254254
[string]$Architecture
255255
)
256256

257-
$ReleaseUrl = "https://github.com/Keyfactor/${BinaryName}/releases/download/v${Version}"
257+
$ReleaseUrl = "https://github.com/Keyfactor/${BinaryName}/releases/download/${Version}"
258258
$Dist = "${BinaryName}_${Version}_${OS}_${Architecture}.zip"
259259

260260
$DistUrl = "${ReleaseUrl}/${Dist}"

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ checkBinaryInstalledVersion() {
186186
downloadFile() {
187187
local download_url
188188
local base_url
189-
base_url="https://github.com/Keyfactor/${BINARY_NAME}/releases/download/v${VERSION}"
189+
base_url="https://github.com/Keyfactor/${BINARY_NAME}/releases/download/${VERSION}"
190190
KFUTIL_DIST="kfutil_${VERSION}_${OS}_${ARCH}.zip"
191191
download_url="${base_url}/${KFUTIL_DIST}"
192192
checksum_url="${base_url}/kfutil_${VERSION}_SHA256SUMS"

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
package version
1616

17-
const VERSION = "v1.2.1"
17+
const VERSION = "v1.3.1"

readme_source.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313

1414
#### Linux/MacOS
1515
```bash
16-
curl -fsSL -o get-kfutil.sh https://raw.githubusercontent.com/Keyfactor/kfutil/main/install.sh
17-
chmod +x get-kfutil.sh
18-
# Install kfutil to $HOME/.local/bin. Use -h for help and examples.
19-
./get-kfutil.sh
16+
bash <(curl -s https://raw.githubusercontent.com/Keyfactor/kfutil/main/install.sh)
2017
````
2118

2219
#### Windows (or Linux/MacOS if PowerShell is preferred)

0 commit comments

Comments
 (0)