Skip to content

Commit 22d47e7

Browse files
committed
update artifact instructions
1 parent da7d367 commit 22d47e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README_DEV.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,17 @@ Only do this for when the repo is in stable position, and we have decent amount
4949
- The web interface seems to be the easiest. Follow the instructions in the generated pull request and make sure there is no errors. For example [this pull request](https://github.com/JuliaRegistries/General/pull/15350).
5050
3. Github Release. TagBot is enabled for this repo, so after the registrator merges the pull request, TagBot automatically does a github release in sync with the registrar's new version.
5151
- Note: TagBot would automatically include all the closed PRs and issues since the previous version in the release note, if you want to exclude some of them, refer to [Julia TagBot docs](https://github.com/JuliaRegistries/TagBot).
52+
53+
54+
## Updating Artifacts
55+
56+
The example is for Circuit Model Zoo, but should work for others:
57+
58+
1. Push new updates to [UCLA-StarAI/Circuit-Model-Zoo](https://github.com/UCLA-StarAI/Circuit-Model-Zoo)
59+
2. Do a [new release](https://github.com/UCLA-StarAI/Circuit-Model-Zoo/releases).
60+
3. Update the `LogicCircuits.jl`'s `Artifact.toml` file with new git tag and hash. Example commit can be found [here](https://github.com/Juice-jl/LogicCircuits.jl/commit/1cd3fda02fa7bd82d1fa02898ee404edce0d7b14).
61+
4. Do the same for `ProbabilisticCircuits.jl`'s `Artifact.toml` file. Example commit [here](https://github.com/Juice-jl/ProbabilisticCircuits.jl/commit/da7d3678b5f2254e60229632f74cc619505e2b2d).
62+
63+
### Question: How to get the hashes:
64+
1. `git-tree-sha1`. I thought it was the commit hash but that did not work. Instead can run the tests and then it gives you error with correct hash and you can update the hash based on that.
65+
2. `sha256`. Download the release file '*.tar.gz' and compute its SHA256 with any method you like and the replace the value.

0 commit comments

Comments
 (0)