Created
September 10, 2014 18:05
-
-
Save reset/53d19f245f13935fb6bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asset = github_asset "my-archive.tar.gz" do | |
repo "reset/mysoftware" | |
release "1.0.0" | |
github_user "reset" | |
github_token "my_token" | |
end | |
libarchive_file "my-archive.tar.gz" do | |
path asset.asset_path | |
extract_to "/some/path" | |
owner "user" | |
group "group" | |
action :extract | |
only_if { ::File.exist?(asset.asset_path) } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, tnx for sharing :)