Skip to content

Commit

Permalink
correct artifact filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerHeintzmann committed Nov 27, 2024
1 parent 759461d commit c0530b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# using Tar, Inflate, SHA
# cd("C:\\Users\\pi96doc\\Documents\\Programming\\Java\\View5D")
# V = 2; VV = 5; VVV = 5; Suffix = "-SNAPSHOT";
# include("src\\GetArtifactInfo.jl")
# VJ = 0; VVJ=5; VVVJ=3;
# include("src\\get_artifact_info.jl")
# replace the code below with the printout
#
# remember to change the version number in the View5D.jl Project.toml file!
Expand All @@ -10,11 +11,12 @@
# For reference the lines to generate the hashes below
# println("git-tree-sha1 = \"", Tar.tree_hash(IOBuffer(inflate_gzip(filename))),"\"")
# println("sha256 = \"", bytes2hex(open(sha256, filename)), "\"")

# https://github.com/RainerHeintzmann/View5D.jl/releases/download/v0.5.3/View5D_-2.5.5-SNAPSHOT.tar.gz
# https://github.com/RainerHeintzmann/View5D.jl/releases/download/v0.5.3/View5D_-2.5.5-SNAPSHOT.tar.gz
[View5D-jar]
git-tree-sha1 = "35fd709e1382615353426673e395a58c131cb6f0"
lazy = true

[[View5D-jar.download]]
url = "https://github.com/bionanoimaging/View5D/releases/download/View5D_v2.5.5/View5D_-2.5.5-SNAPSHOT.tar.gz"
url = "https://github.com/RainerHeintzmann/View5D.jl/releases/download/v0.5.3/View5D_-2.5.5-SNAPSHOT.tar.gz"
sha256 = "0c0306a1628f040ff65b3f153c96df86ce998ffdc6ff3dc0852793872bfc5f42"
2 changes: 1 addition & 1 deletion src/GetArtifactInfo.jl → src/get_artifact_info.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ println("[View5D-jar]")
println("git-tree-sha1 = \"", Tar.tree_hash(IOBuffer(inflate_gzip(filename))),"\"")
println("lazy = true\n")
println(" [[View5D-jar.download]]")
println(" url = \"https://github.com/bionanoimaging/View5D/releases/download/View5D_v$(V).$VV.$VVV/View5D_-$V.$VV.$VVV$Suffix.tar.gz\" ")
println(" url = \"https://github.com/RainerHeintzmann/View5D.jl/releases/download/v$(VJ).$VVJ.$VVVJ/View5D_-$V.$VV.$VVV$Suffix.tar.gz\" ")
println(" sha256 = \"", bytes2hex(open(sha256, filename)), "\"")

# and then put these values into the Artifacts.toml file and also update the Version number there.

0 comments on commit c0530b1

Please sign in to comment.