Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Feb 12, 2024
1 parent 86b25e9 commit 875ac79
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DepotDelivery"
uuid = "5c353f05-31b8-41b6-b09f-65e5456b8b1e"
authors = ["Josh Day <emailjoshday@gmail.com> and contributors"]
version = "0.1.0"
version = "0.1.1"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
13 changes: 13 additions & 0 deletions src/DepotDelivery.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ function restore!!(s::State)
append!(empty!(DEPOT_PATH), s.depot_path)
end

function sandbox(f::Function)
State = State()
try
f()
catch ex
@warn "DepotDelivery.sandbox failed"
rethrow(ex)
finally
restore!!(State)
end
end

#-----------------------------------------------------------------------------# build
function build(path::String; platform = Base.BinaryPlatforms.HostPlatform())
state = State()
Expand Down Expand Up @@ -61,6 +73,7 @@ function startup_script(depot_path::String, proj_name::String)
import Pkg
ENV["JULIA_DEPOT_PATH"] = "$depot_path" # Needed for Distributed.jl to work
push!(empty!(DEPOT_PATH), "$depot_path")
Pkg.activate(joinpath("$depot_path", "dev", "$proj_name"))
using $proj_name
@info "Depot `$depot_path` initialized with project `$proj_name`."
"""
Expand Down

2 comments on commit 875ac79

@joshday
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/100721

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" 875ac79cabaa88091097d0e463e503e3b2b34599
git push origin v0.1.1

Please sign in to comment.