Releases: devmatteini/dra
0.8.0
Added
Before, you needed to export environment variable GITHUB_TOKEN
to make authenticated requests to download assets from
private repositories and avoid rate limit issues.
Now, you can also export one of the following environment variables:
DRA_GITHUB_TOKEN
GITHUB_TOKEN
(same as before)GH_TOKEN
If none of the above environment variables are set, the GitHub cli token (if available) will be used as default value.
If you would like to disable GitHub authentication, you can export the environment variable DRA_DISABLE_GITHUB_AUTHENTICATION=true
0.7.1
Added
Automated bash script for initial dra download (see README.md for more information)
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/devmatteini/dra/refs/heads/main/install.sh | bash -s -- --to <DESTINATION>
Changed
Improve install
feature error message when no executables are found to provide more context to the user (based on #232)
Fixed
Automatic download on Linux prioritize musl-based archives when multiple musl assets are available, ensuring better compatibility across distributions. (#267)
Updated dependencies
- bump
zip
from 2.2.0 to 2.2.2 - bump
ureq
from 2.10.1 to 2.12.1 - bump
tar
from 0.4.42 to 0.4.43 - bump
serde
from 1.0.214 to 1.0.217 - bump
predicates
from 3.1.2 to 3.1.3 - bump
itertools
from 0.13.0 to 0.14.0 - bump
indicatif
from 0.17.8 to 0.17.9 - bump
hashbrown
from 0.15.0 to 0.15.2 - bump
flate2
from 1.0.34 to 1.0.35 - bump
clap
from 4.5.20 to 4.5.23 - bump
clap_complete
from 4.5.34 to 4.5.40 - bump
bzip2
from 0.4.4 to 0.5.0
0.7.0
Added
Install multiple executables from tar/zip archives in one command (#234, thanks @duong-dt for the initial implementation).
You can now specify -I/--install-file
option multiple times:
$ dra download -s helloworld-many-executables-unix.tar.gz -I helloworld-v2 -I random-script devmatteini/dra-tests
# [...]
Extracted archive executable to '/home/<user>/helloworld-v2'
Extracted archive executable to '/home/<user>/random-script'
Installation completed!
Note that the following syntax is not valid as it's not backward compatible:
dra download -s helloworld-many-executables-unix.tar.gz -I helloworld-v2 random-script devmatteini/dra-tests
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# you can't pass space-separated values to -I
When you install multiple executables, --output
must be a directory path.
Updated dependencies
- bump
serde
from 1.0.210 to 1.0.214 - bump
clap
from 4.5.18 to 4.5.20 - bump
clap_complete
from 4.5.29 to 4.5.34
0.6.3
Added
Changed
- Review and improve
dra [command] --help
messages to be clearer
Updated dependencies
- bump
zip
from 0.6.6 to 2.2.0 - bump
uuid
from 1.10.0 to 1.11.0 - bump
tar
from 0.4.40 to 0.4.42 - bump
serde
from 1.0.209 to 1.0.210 - bump
flate2
from 1.0.33 to 1.0.34 - bump
clap
from 4.5.16 to 4.5.18 - bump
clap_complete
from 4.5.24 to 4.5.29
0.6.2
Fixed
- Asset detection for automatic download on windows when
win64
is used for both OS and
ARCH (#224)
Updated dependencies
- bump
ureq
from 2.10.0 to 2.10.1 - bump
serde
from 1.0.204 to 1.0.209 - bump
flate2
from 1.0.30 to 1.0.33 - bump
ctrlc
from 3.4.4 to 3.4.5 - bump
clap
from 4.5.13 to 4.5.16 - bump
clap_complete
from 4.5.8 to 4.5.24 - bump
assert_cmd
from 2.0.15 to 2.0.16
0.6.1
Added
- Show more information about the installed asset. For example, when installing an executable from a
tar archive, you
will see a message likeExtracted archive executable to '/home/<user>/Downloads/helloworld'
.
0.6.0
This release focuses on improving the install
feature and adds support for more assets types (#205).
The install system is now more reliable and can handle more complex scenarios.
Thanks @sandreas and @adriangalilea for the help testing this release.
Added
New supported assets to install are:
- Compressed executable files
- Executable files
- AppImage files
A new option --install-file/-I <INSTALL_FILE>
has been added to dra-download
command.
This option is useful when a tar archive or zip file contains many executables:
dra
can't automatically detect which one to install- The repository provides more than one executable and you want to install them
See Examples section on for more information.
Changed
- The
--output
option ofdra-download
now also accepts file paths when used with install feature. This allows to rename the installed executable file (examples)
Development
- Extend release infrastructure to be able to create alpha/beta releases.
Updated dependencies
- bump
uuid
from 1.9.1 to 1.10.0 - bump
ureq
from 2.9.7 to 2.10.0 - bump
serde
from 1.0.203 to 1.0.204 - bump
predicates
from 3.1.0 to 3.1.2 - bump
clap
from 4.5.8 to 4.5.13 - bump
clap_complete
from 4.5.3 to 4.5.8 - bump
assert_cmd
from 2.0.14 to 2.0.15
0.5.5-beta
This release improves the install
feature on several points.
Added
-
dra download -I/--install-file <file>
option to install a specific executable file.For example, if you want to download the
install.sh
script inside the release asset you can run:
dra download -s helloworld-many-executables-unix.tar.gz -I install.sh devmatteini/dra-tests
Changed
- There is a new system to detect the right executable to install when many are available
- Improved help messages for
dra-download
install feature
Fixed
- Install of compressed files, like
.gz,
.bz2
,.xz
. Before they were treated as tar archives, which was obviously wrong - Find executables in deeply nested directories when installing from a tar archive or zip file
Development
- Extend release infrastructure to be able to create alpha/beta releases.
0.5.4
Added
- Download and install assets from
.tbz
and.txz
archives
Fixed
- Ignore some assets when using automatic download (for example, sha256sum files)
Updated dependencies
- bump
uuid
from 1.7.0 to 1.9.1 - bump
ureq
from 2.9.6 to 2.9.7 - bump
serde
from 1.0.197 to 1.0.203 - bump
rustls
from 0.22.2 to 0.22.4 - bump
flate2
from 1.0.28 to 1.0.30 - bump
clap
from 4.5.2 to 4.5.8 - bump
clap_complete
from 4.5.1 to 4.5.3
0.5.3
This is a maintenance release that updates our dependencies.
Documentation
- Add missing commas, correction of spelling errors by
@patsevanton (#184) - Add more usage examples to
dra --help
Updated dependencies
- bump
walkdir
from 2.4.0 to 2.5.0 - bump
ureq
from 2.9.1 to 2.9.6 - bump
indicatif
from 0.17.7 to 0.17.8 - bump
predicates
from 3.0.4 to 3.1.0 - bump
serde
from 1.0.193 to 1.0.197 - bump
uuid
from 1.6.1 to 1.7.0 - bump
assert_cmd
from 2.0.12 to 2.0.14 - bump
ctrlc
from 3.4.1 to 3.4.4 - bump
clap
from 4.4.10 to 4.5.2 - bump
clap_complete
from 4.4.4 to 4.5.1