Skip to content

Commit 0e921cc

Browse files
committed
change release tarball bianry path
1 parent 81834b8 commit 0e921cc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
builds:
22
- main: ./cmd/oras
3-
binary: ./bin/oras
3+
binary: ./oras
44
env:
55
- CGO_ENABLED=0
66
goos:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ curl -LO https://github.com/shizhMSFT/oras/releases/download/v0.3.1/oras_0.3.1_l
7171
curl -LO https://github.com/shizhMSFT/oras/releases/download/v0.3.1/oras_0.3.1_darwin_amd64.tar.gz
7272
7373
# unpack, install, dispose
74-
mkdir -p oras/
75-
tar -zxf oras_0.3.1_*.tar.gz -C oras/
76-
mv oras/bin/oras /usr/local/bin/
77-
rm -rf oras_0.3.1_*.tar.gz oras/
74+
mkdir -p oras-install/
75+
tar -zxf oras_0.3.1_*.tar.gz -C oras-install/
76+
mv oras-install/oras /usr/local/bin/
77+
rm -rf oras_0.3.1_*.tar.gz oras-install/
7878
```
7979

8080
Then, to run:

0 commit comments

Comments
 (0)