You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-19Lines changed: 4 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,10 @@ This repo contains the command line interface (CLI) for [deployKF](https://githu
8
8
9
9
You can install the `deploykf` CLI by downloading the appropriate binary for your OS from the [releases page](https://github.com/deployKF/cli/releases).
10
10
- You may wish to rename the binary to `deploykf` (or `deploykf.exe` on Windows).
11
-
- On Unix-like systems, you may need to make the binary executable by running `chmod +x deploykf`.
11
+
- You may need to make the binary executable on Linux/macOS by running `chmod +x deploykf`.
12
+
- You may also wish to move the binary to a directory that is in your `PATH` environment variable.
13
+
- On Linux/macOS you might run `sudo mv deploykf /usr/local/bin/`.
14
+
- On Windows you might run `move deploykf.exe C:\Windows\System32\`.
12
15
13
16
## Usage
14
17
@@ -32,21 +35,3 @@ Here are some helpful commands when developing the CLI:
32
35
-`make install`: Installs the binary to `/usr/local/bin`.
33
36
-`make lint`: Runs `golangci-lint` against the codebase to check for errors.
34
37
-`make lint-fix`: Attempts to automatically fix any linting errors found.
35
-
36
-
## Releasing
37
-
38
-
To release a new version of the CLI, follow these steps:
39
-
40
-
1. For a new minor or major release, create a `release-*` branch first.
41
-
- For example, for the `v0.2.0` release, create a new branch called `release-0.2`.
42
-
- This allows for the continued release of bug fixes to older CLI versions.
43
-
2. Create a new tag on the appropriate release branch for the version you are releasing.
44
-
- Ensure you sign the tag with your GPG key.
45
-
- You can do this by running `git tag -s v0.1.1 -m "v0.1.1"`.
46
-
- You can verify the tag by running `git verify-tag v0.1.1`.
47
-
- For instance, you might create `v0.1.1` or `v0.1.1-alpha.1` on the `release-0.1` branch.
48
-
- Remember to create tags only on the `release-*` branches, not on the `main` branch.
49
-
3. When a new semver tag is created, a workflow will automatically create a GitHub draft release.
50
-
- The release will include binaries and corresponding SHA256 checksums for all supported platforms.
51
-
- Don't forget to add the changelog to release notes.
0 commit comments