Eliminate one weird install step by using tar instead of xz directly
This commit is contained in:
parent
7dd5c046b7
commit
342f996c8e
2 changed files with 6 additions and 6 deletions
|
@ -17,13 +17,13 @@ script:
|
||||||
- cargo build --release --target=x86_64-unknown-linux-musl
|
- cargo build --release --target=x86_64-unknown-linux-musl
|
||||||
- cargo test --release --target=x86_64-unknown-linux-musl
|
- cargo test --release --target=x86_64-unknown-linux-musl
|
||||||
- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki
|
- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki
|
||||||
- xz -9 < target/x86_64-unknown-linux-musl/release/sausagewiki > sausagewiki.xz
|
- XZ_OPT=-9 tar Jcf sausagewiki.tar.xz target/x86_64-unknown-linux-musl/release/sausagewiki
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
secure: NmM+uk4ijbv5wFF3O7w9KLTrGYbe1mxWAzJDR8cD9rimgORWNQKlHOZtthAQxVgtvmhKAMkzwglgQSX3p0w4yGK5oaV3oO1aA21dzlf0BXL7/BOxgYSTjV+x8O1uIu57ERnf4k2WATCpLSx4r4LpfxMgjdEtIl6LDAnV/zX+HKu7pZAzXvmkS22m5CJbEY4M6DpCAIfpP99dolnyU7h5/AR1njMmzSqGB/naVe5O2j0sBveInsjC+4gPSh9QT/VHZBxbOctcy+kSzwN4iDktkFdYIGe9Z2sDjXsiI39ihXntyOHXA2iVpdkgpIGeLIYBOo+DobgMdS45CzZQ2y9zLnwXwODCgrh8qexxnRpC8RG7uKuVe50R6v4HDPgkjwCJoHicxaEUDiPIsg5qCxEfMYd5qUt21OwEwBN9N8K/RZD0fmgKLE5lQiyxubufeSB4wjpWrXct2M46t25qPFobbZ0kzLCXtZHtKk1mkkk+EWv8UOhRvJ8ih0Fb9ivSOrN6YA1/eRd9/SRntkJriMYmfAW50W3DnyFnPHqdV+x+jHJgcB+DnaDvQnPamk93ZDF/UyUDjVuPJFd0BAFxoRUy6HGaF/yajH4r9g3EdlfSu2IrGDo4vIA9qawBYpHyaSGvYwdCDx4/oUPIAf8sLBS01WOaDJgcmmFey7A/OqSEt6Q=
|
secure: NmM+uk4ijbv5wFF3O7w9KLTrGYbe1mxWAzJDR8cD9rimgORWNQKlHOZtthAQxVgtvmhKAMkzwglgQSX3p0w4yGK5oaV3oO1aA21dzlf0BXL7/BOxgYSTjV+x8O1uIu57ERnf4k2WATCpLSx4r4LpfxMgjdEtIl6LDAnV/zX+HKu7pZAzXvmkS22m5CJbEY4M6DpCAIfpP99dolnyU7h5/AR1njMmzSqGB/naVe5O2j0sBveInsjC+4gPSh9QT/VHZBxbOctcy+kSzwN4iDktkFdYIGe9Z2sDjXsiI39ihXntyOHXA2iVpdkgpIGeLIYBOo+DobgMdS45CzZQ2y9zLnwXwODCgrh8qexxnRpC8RG7uKuVe50R6v4HDPgkjwCJoHicxaEUDiPIsg5qCxEfMYd5qUt21OwEwBN9N8K/RZD0fmgKLE5lQiyxubufeSB4wjpWrXct2M46t25qPFobbZ0kzLCXtZHtKk1mkkk+EWv8UOhRvJ8ih0Fb9ivSOrN6YA1/eRd9/SRntkJriMYmfAW50W3DnyFnPHqdV+x+jHJgcB+DnaDvQnPamk93ZDF/UyUDjVuPJFd0BAFxoRUy6HGaF/yajH4r9g3EdlfSu2IrGDo4vIA9qawBYpHyaSGvYwdCDx4/oUPIAf8sLBS01WOaDJgcmmFey7A/OqSEt6Q=
|
||||||
file: sausagewiki.xz
|
file: sausagewiki.tar.xz
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: maghoff/sausagewiki
|
repo: maghoff/sausagewiki
|
||||||
|
|
|
@ -31,10 +31,10 @@ Install and run
|
||||||
Sausagewiki aims to be simple to get up and running. It is distributed as a
|
Sausagewiki aims to be simple to get up and running. It is distributed as a
|
||||||
single independent executable for Linux.
|
single independent executable for Linux.
|
||||||
|
|
||||||
1. Download the latest build of `sausagewiki.xz` from <https://github.com/maghoff/sausagewiki/releases/latest>
|
1. Download the latest build of `sausagewiki.tar.xz` from <https://github.com/maghoff/sausagewiki/releases/latest>
|
||||||
2. Decompress: `xz -d sausagewiki.xz`
|
2. Decompress: `tar Jxf sausagewiki.tar.xz`, it decompresses to the single
|
||||||
3. Set execution permission: `chmod a+x sausagewiki`
|
executable `sausagewiki`
|
||||||
4. Run: `./sausagewiki wiki.db`
|
3. Run: `./sausagewiki wiki.db`
|
||||||
|
|
||||||
For a more permanent installation, you could [install Sausagewiki as a systemd
|
For a more permanent installation, you could [install Sausagewiki as a systemd
|
||||||
service](https://github.com/maghoff/sausagewiki/wiki/System-wide-installation-with-systemd).
|
service](https://github.com/maghoff/sausagewiki/wiki/System-wide-installation-with-systemd).
|
||||||
|
|
Loading…
Reference in a new issue