Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gen_resources/generator/deploy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ end

function make_new_info(dash_version, old_info)
if old_info.dash_version > dash_version
error("You try to generate resources for dash $(dash_version), but $(deploy_repo) alredy contains version $(old_info.dash_version)")
error("You try to generate resources for dash $(dash_version), but $(deploy_repo) already contains version $(old_info.dash_version)")
end
build_n = old_info.dash_version == dash_version ? old_info.build + 1 : 0
return (dash_version = dash_version, build = build_n)
Expand Down
10 changes: 5 additions & 5 deletions gen_resources/generator/generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function generate(ARGS, sources, build_dir, artifact_file)
@info "cloning dash..."
v = install_dash(sources["dash"]["url"], sources["dash"]["tag"])
dash_version = VersionNumber(v)
@info "dash succefully installed" dash_version
@info "dash successfully installed" dash_version

deploy_repo = sources["deploy"]["repo"]

Expand All @@ -58,17 +58,17 @@ function generate(ARGS, sources, build_dir, artifact_file)
push_repo(deploy_repo, deploy_dir, deploy_tagname(new_info))
@info "repo pushed"

@info "creating tagball..."
@info "creating tarball..."
tarball_hash = archive_artifact(artifact_hash, joinpath(build_dir, tarball_name(new_info)))
@info "tagball created" tarball_hash
@info "tarball created" tarball_hash

@info "binding artifact..."
download_info = (
"https://github.com/$(deploy_repo)/releases/download/$(deploy_tagname(new_info))/$(tarball_name(new_info))",
tarball_hash
)
bind_artifact!(artifact_file, "dash_resources", artifact_hash, force = true, download_info = [download_info])
@info "artifact binding succefully to" artifact_file
@info "artifact binding successfully to" artifact_file

cd(deploy_dir) do
upload_to_releases(deploy_repo,
Expand All @@ -79,7 +79,7 @@ function generate(ARGS, sources, build_dir, artifact_file)
else
unbind_artifact!(artifact_file, "dash_resources")
bind_artifact!(artifact_file, "dash_resources", artifact_hash, force = true, download_info = nothing)
@info "artifact binding succefully to" artifact_file
@info "artifact binding successfully to" artifact_file
end
@info "resource generation done!"

Expand Down
2 changes: 1 addition & 1 deletion src/handler/processors/callback.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ end
function validate_return_item(callback_id, i, value, spec::Vector)
throw(InvalidCallbackReturnValue(
"""
The callback $callback_id ouput $i is a wildcard multi-output.
The callback $callback_id output $i is a wildcard multi-output.
Expected the output type to be a list or tuple but got:
$value.
output spec: $spec
Expand Down