@@ -13,19 +13,19 @@ Replace strings if the line contains the definition of how to update itself.
1313In [ Nix] ( https://nixos.org/ ) [ Flake] ( https://nixos.wiki/wiki/Flakes ) , you can skip installation steps
1414
1515``` console
16- > nix run github:kachick/selfup/v1.2.2 -- --version
17- selfup v1.2.2
16+ > nix run github:kachick/selfup/v1.3.0 -- --version
17+ selfup v1.3.0
1818```
1919
2020You can also use the binary cache defined in the [ flake] ( flake.nix ) .\
21- This is available for tagged versions v1.2.2 and later, but only if the user is a trusted-user in your nix.conf file.
21+ This is available for tagged versions v1.3.0 and later, but only if the user is a trusted-user in your nix.conf file.
2222
2323``` bash
2424> grep trusted-users /etc/nix/nix.conf
2525trusted-users = root your_user
2626
27- > nix run --accept-flake-config github:kachick/selfup/v1.2.2 -- --version
28- selfup v1.2.2
27+ > nix run --accept-flake-config github:kachick/selfup/v1.3.0 -- --version
28+ selfup v1.3.0
2929```
3030
3131### Prebuilt-binary
@@ -34,15 +34,15 @@ Prebuilt binaries are available for download from [releases](https://github.com/
3434
3535``` console
3636> install_path=" $( mktemp -d) "
37- > curl -L https://github.com/kachick/selfup/releases/download/v1.2.2 /selfup_Linux_x86_64.tar.gz | tar xvz -C " $install_path " selfup
37+ > curl -L https://github.com/kachick/selfup/releases/download/v1.3.0 /selfup_Linux_x86_64.tar.gz | tar xvz -C " $install_path " selfup
3838> " ${install_path} /selfup" --version
3939selfup VERSION
4040```
4141
4242You can also use [ gh] ( https://github.com/cli/cli ) command.
4343
4444``` bash
45- gh release download ' v1.2.2 ' --pattern ' selfup_Linux_x86_64.tar.gz' --repo kachick/selfup
45+ gh release download ' v1.3.0 ' --pattern ' selfup_Linux_x86_64.tar.gz' --repo kachick/selfup
4646tar -xvzf ' selfup_Linux_x86_64.tar.gz'
4747```
4848
0 commit comments