File tree 3 files changed +13
-4
lines changed
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 14
14
.idea /
15
15
.vscode /
16
16
17
- upload .txt
17
+ uploads .txt
18
18
dist-manifest.json
19
19
.intentionally-empty-file.o
Original file line number Diff line number Diff line change 3
3
This script is used to deploy a binary to the releases page of a GitHub repository.
4
4
5
5
## Pre-requisites
6
- ` gh cli ` must be installed and authenticated.
6
+ 1 . ` gh cli ` must be installed and authenticated.
7
7
8
8
Installation:
9
9
``` sh
@@ -15,6 +15,15 @@ Authentication:
15
15
gh auth login
16
16
```
17
17
18
+ 2 . Make sure a release has already been created and triggered. To do this make sure to tag the commit with the version number.
19
+
20
+ ``` sh
21
+ git tag -a v1.12.0 -m " Release v1.12.0"
22
+ git push origin v1.12.0
23
+ ```
24
+
25
+ 3 . Monitor the release pipeline here: https://github.com/gitarcode/typeshare/actions/workflows/release.yml
26
+
18
27
## Usage
19
28
20
29
``` sh
@@ -33,5 +42,5 @@ Options:
33
42
## Example
34
43
35
44
``` sh
36
- ./build.sh --version 1 .12.0 --target aarch64-apple-darwin
45
+ ./build.sh --version v1 .12.0 --target aarch64-apple-darwin
37
46
```
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if [ -z "$VERSION" ]; then
63
63
fi
64
64
65
65
# Build the project
66
- pip3 install ziglang
66
+ pip3 install ziglang --break-system-packages
67
67
cargo install cargo-zigbuild
68
68
rustup target add " ${TARGET} "
69
69
cargo zigbuild --target " ${TARGET} " --release
You can’t perform that action at this time.
0 commit comments