File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Release Procedures Manual
2
2
3
- ## 1. Create a tag
3
+ ## 1. Update the dependencies
4
+
5
+ It's a good practice to update the dependencies before cutting a new release
6
+
7
+ ``` shell
8
+ ./scripts/updatedeps.sh
9
+ ```
10
+
11
+ ## 2. Create a tag
4
12
5
13
Use the git-cli to create a tag, for example:
6
14
@@ -14,15 +22,15 @@ Next, push the tag:
14
22
git push origin --tags
15
23
```
16
24
17
- ## 2 . Create binaries
25
+ ## 3 . Create binaries
18
26
19
27
From the root of ` kardolus/chatgpt-cli ` , run the following script to create binaries for various architectures:
20
28
21
29
``` shell
22
30
./scripts/binaries.sh
23
31
```
24
32
25
- ## 3 . Create a GitHub release
33
+ ## 4 . Create a GitHub release
26
34
27
35
Create a GitHub release for the tag we just pushed out. Upload the binaries created in the previous step. Add this
28
36
section with update instructions to the end:
@@ -41,7 +49,7 @@ brew upgrade chatgpt-cli
41
49
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
42
50
```
43
51
44
- ## 4 . Bump the version
52
+ ## 5 . Bump the version
45
53
46
54
Bump the version in the ` README ` of ` kardolus/chatgpt-cli ` and in the Homebrew
47
55
formulae (` kardolus/homebrew-chatgpt-cli/HomebrewFormula/chatgpt-cli.rb ` ). Update the sha256 of the macOS binaries
You can’t perform that action at this time.
0 commit comments