Skip to content

Commit

Permalink
add justfile (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Jan 28, 2023
1 parent 99d0c71 commit 9ec1a17
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
29 changes: 29 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
release-patch:
#!/usr/bin/env bash
set -e
git pull origin master
git push origin master
for i in lib/*; do
if [ -d "$i" ]; then
cd $i
ion bump patch --no-commit
git add Project.toml
cd ../..
fi
done
ion bump patch --no-commit
git add Project.toml

git commit -m "Bump patch version"
git push origin master

for i in lib/*; do
if [ -d "$i" ]; then
ion summon $i --skip-note
fi
done
ion summon

release-minor:
error("Please manually bump the minor version using ion and change corresponding compat")
2 changes: 1 addition & 1 deletion lib/BloqadeGates/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ YaoArrayRegister = "e600142f-9330-5003-8abb-0ebd767abc51"
YaoBlocks = "418bc28f-b43b-5e0b-a6e7-61bbc1a2c1df"

[compat]
julia = "1.6"
BloqadeExpr = "0.1.9"
BloqadeKrylov = "0.1.5"
BloqadeODE = "0.1.8"
YaoAPI = "0.4.3"
YaoArrayRegister = "0.9.3"
YaoBlocks = "0.13.5"
julia = "1.6"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
6 changes: 3 additions & 3 deletions lib/BloqadeQMC/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Yao = "5872b779-8223-5990-8dd0-5abbb0748c8c"

[compat]
Yao = "0.8"
BinningAnalysis = "0.5"
BloqadeExpr = "^0.1.10"
BloqadeLattices = "^0.1.6"
DataStructures = "0.18"
Distributions = "0.24, 0.25"
BloqadeLattices = "^0.1.6"
BloqadeExpr = "^0.1.10"
FFTW = "1.2"
FileIO = "1.4"
JLD2 = "0.3, 0.4"
Measurements = "2.3"
OnlineStats = "1"
PushVectors = "0.2"
RandomNumbers = "1.4"
Yao = "0.8"
julia = "1.6"

[extras]
Expand Down

0 comments on commit 9ec1a17

Please sign in to comment.