Checking target-arch... x86_64-pc-windows-msvc
Checking current version... v0.6.1
Checking latest released version... v0.7.0
New release found! v0.6.1 --> v0.7.0
New release is *NOT* compatible
rustic.exe release status:
* Current exe: "C:\\Users\\dailyuse\\.cargo\\bin\\rustic.exe"
* New exe release: "rustic-v0.7.0-x86_64-pc-windows-msvc.tar.gz"
* New exe download url: "https://api.github.com/repos/rustic-rs/rustic/releases/assets/149644039"
The new release will be downloaded/extracted and the existing binary will be replaced.
Do you want to continue? [Y/n] Y
Downloading...
[00:00:00] [========================================] 7.42 MiB/7.42 MiB (0s) Done
Extracting archive... error: UpdateError: Could not find the required path in the archive: "rustic.exe"
How can we self-update from that archive? We currently use:
Our current setup is like this:
How can we
self-update
from that archive? We currently use:Replacing works, if we set it like this:
The problem is, that we can't know:
So how would it be best, to tackle this? 🤔 I'm wondering, if it would make sense, to introduce some basic templating for this, so we could write: