Skip to content

Commit a5c9df3

Browse files
committed
Update the release procedure
1 parent dd762fa commit a5c9df3

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/release_procedures.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Release Procedures Manual
22

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
412

513
Use the git-cli to create a tag, for example:
614

@@ -14,15 +22,15 @@ Next, push the tag:
1422
git push origin --tags
1523
```
1624

17-
## 2. Create binaries
25+
## 3. Create binaries
1826

1927
From the root of `kardolus/chatgpt-cli`, run the following script to create binaries for various architectures:
2028

2129
```shell
2230
./scripts/binaries.sh
2331
```
2432

25-
## 3. Create a GitHub release
33+
## 4. Create a GitHub release
2634

2735
Create a GitHub release for the tag we just pushed out. Upload the binaries created in the previous step. Add this
2836
section with update instructions to the end:
@@ -41,7 +49,7 @@ brew upgrade chatgpt-cli
4149
For a quick and easy installation without compiling, you can directly download the pre-built binary for your operating system and architecture.
4250
```
4351

44-
## 4. Bump the version
52+
## 5. Bump the version
4553

4654
Bump the version in the `README` of `kardolus/chatgpt-cli` and in the Homebrew
4755
formulae (`kardolus/homebrew-chatgpt-cli/HomebrewFormula/chatgpt-cli.rb`). Update the sha256 of the macOS binaries

0 commit comments

Comments
 (0)