File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 44# # Eventually, this image will probably be replaced with the actual builder image,
55# # as that will have the necessary toolchains as well, but that image is not built yet.
66
7+ if length (ARGS ) != 1
8+ throw (ArgumentError (" Usage: llvm-passes.jl [tag_name]" ))
9+ end
10+ const tag_name = convert (String, strip (ARGS [1 ])):: String
11+
712include (" rootfs_utils.jl" )
813
914# Build debian-based image with the following extra packages:
@@ -26,4 +31,4 @@ packages = [
2631tarball_path = debootstrap (" llvm-passes" ; packages)
2732
2833# Upload it
29- upload_rootfs_image (tarball_path; tag_name = " v1 " )
34+ upload_rootfs_image (tarball_path; tag_name)
Original file line number Diff line number Diff line change 8484
8585function upload_rootfs_image (tarball_path:: String ;
8686 github_repo:: String = " JuliaCI/rootfs-images" ,
87- tag_name:: String = " v1 " )
87+ tag_name:: String )
8888 # Upload it to `github_repo`
8989 tarball_url = " https://github.com/$(github_repo) /releases/download/$(tag_name) /$(basename (tarball_path)) "
9090 @info (" Uploading to $(github_repo) @$(tag_name) " , tarball_url)
You can’t perform that action at this time.
0 commit comments