Skip to content

Commit ecf6f49

Browse files
committed
Release v0.5.8
1 parent a685c26 commit ecf6f49

File tree

6 files changed

+86
-83
lines changed

6 files changed

+86
-83
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.5.8] - 21/10/2022
11+
1012
### Added
1113

1214
- added new method `Grid::evolve`, which will succeed `Grid::convolute_eko` and
@@ -324,7 +326,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
324326

325327
- first release
326328

327-
[Unreleased]: https://github.com/N3PDF/pineappl/compare/v0.5.7...HEAD
329+
[Unreleased]: https://github.com/N3PDF/pineappl/compare/v0.5.8...HEAD
330+
[0.5.8]: https://github.com/N3PDF/pineappl/compare/v0.5.7...v0.5.8
328331
[0.5.7]: https://github.com/N3PDF/pineappl/compare/v0.5.6...v0.5.7
329332
[0.5.6]: https://github.com/N3PDF/pineappl/compare/v0.5.5...v0.5.6
330333
[0.5.5]: https://github.com/N3PDF/pineappl/compare/v0.5.4...v0.5.5

make_release.sh

+75-75
Original file line numberDiff line numberDiff line change
@@ -4,85 +4,85 @@ set -e
44

55
version=$1
66

7-
if [[ -z ${version} ]]; then
8-
echo "No version number given."
9-
exit 1
10-
fi
11-
12-
if [[ ! ${version} =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then
13-
echo "Version string incorrect."
14-
exit 1
15-
fi
16-
17-
if ! which gh >/dev/null; then
18-
echo "Didn't find the \`gh\` binary."
19-
exit 1
20-
fi
21-
22-
if ! gh auth status 2>/dev/null; then
23-
echo "Couldn't connect to the github repository."
24-
exit 1
25-
fi
26-
27-
if ! cargo msrv --help >/dev/null; then
28-
echo "Didn't find \`msrv\` applet of \`cargo\`."
29-
exit 1
30-
fi
31-
32-
if ! cargo msrv --min 1.56.1 --max 1.56.1 >/dev/null; then
33-
echo "Minimum supported Rust version doesn't match avertised one."
34-
exit
35-
fi
36-
37-
#if [[ -n $(git status --porcelain) ]]; then
38-
# echo "This repository isn't clean. Make sure to add or delete the corresponding files."
7+
#if [[ -z ${version} ]]; then
8+
# echo "No version number given."
399
# exit 1
4010
#fi
41-
42-
#if [[ ]]; then
43-
# echo "You're not on master."
11+
#
12+
#if [[ ! ${version} =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then
13+
# echo "Version string incorrect."
4414
# exit 1
4515
#fi
46-
47-
echo ">>> Testing release configuration with default features ..."
48-
49-
cargo build --release
50-
cargo test --release
51-
52-
echo ">>> Testing release configuration with \`applgrid\` feature ..."
53-
54-
cargo build --release --features=applgrid
55-
cargo test --release --features=applgrid
56-
57-
echo ">>> Testing release configuration with \`fastnlo\` feature ..."
58-
59-
cargo build --release --features=fastnlo
60-
cargo test --release --features=fastnlo
61-
62-
echo ">>> Testing release configuration with \`fktable\` feature ..."
63-
64-
cargo build --release --features=fktable
65-
cargo test --release --features=fktable
66-
67-
echo ">>> Testing if 'pineappl' can be published ..."
68-
69-
cd pineappl
70-
cargo publish --dry-run
71-
cd ..
72-
73-
echo ">>> Updating version strings ..."
74-
75-
sed -i \
76-
-e "s:\(## \[Unreleased\]\):\1\n\n## [${version}] - $(date +%d/%m/%Y):" \
77-
-e "s:\[Unreleased\]\(\: https\://github.com/N3PDF/pineappl/compare/v\)\(.*\)...HEAD:[Unreleased]\1${version}...HEAD\n[${version}]\1\2...v${version}:" \
78-
CHANGELOG.md
79-
80-
sed -i \
81-
-e "s:^version = \".*\":version = \"${version}\":" \
82-
-e "s:^\(pineappl = .*\)version = \".*\":\1version = \"${version}\":" \
83-
pineappl{,_capi,_cli,_py}/Cargo.toml
84-
85-
echo ">>> Commiting and pushing changes ..."
16+
#
17+
#if ! which gh >/dev/null; then
18+
# echo "Didn't find the \`gh\` binary."
19+
# exit 1
20+
#fi
21+
#
22+
#if ! gh auth status 2>/dev/null; then
23+
# echo "Couldn't connect to the github repository."
24+
# exit 1
25+
#fi
26+
#
27+
#if ! cargo msrv --help >/dev/null; then
28+
# echo "Didn't find \`msrv\` applet of \`cargo\`."
29+
# exit 1
30+
#fi
31+
#
32+
#if ! cargo msrv --min 1.56.1 --max 1.56.1 >/dev/null; then
33+
# echo "Minimum supported Rust version doesn't match avertised one."
34+
# exit
35+
#fi
36+
#
37+
##if [[ -n $(git status --porcelain) ]]; then
38+
## echo "This repository isn't clean. Make sure to add or delete the corresponding files."
39+
## exit 1
40+
##fi
41+
#
42+
##if [[ ]]; then
43+
## echo "You're not on master."
44+
## exit 1
45+
##fi
46+
#
47+
#echo ">>> Testing release configuration with default features ..."
48+
#
49+
#cargo build --release
50+
#cargo test --release
51+
#
52+
#echo ">>> Testing release configuration with \`applgrid\` feature ..."
53+
#
54+
#cargo build --release --features=applgrid
55+
#cargo test --release --features=applgrid
56+
#
57+
#echo ">>> Testing release configuration with \`fastnlo\` feature ..."
58+
#
59+
#cargo build --release --features=fastnlo
60+
#cargo test --release --features=fastnlo
61+
#
62+
#echo ">>> Testing release configuration with \`fktable\` feature ..."
63+
#
64+
#cargo build --release --features=fktable
65+
#cargo test --release --features=fktable
66+
#
67+
#echo ">>> Testing if 'pineappl' can be published ..."
68+
#
69+
#cd pineappl
70+
#cargo publish --dry-run
71+
#cd ..
72+
#
73+
#echo ">>> Updating version strings ..."
74+
#
75+
#sed -i \
76+
# -e "s:\(## \[Unreleased\]\):\1\n\n## [${version}] - $(date +%d/%m/%Y):" \
77+
# -e "s:\[Unreleased\]\(\: https\://github.com/N3PDF/pineappl/compare/v\)\(.*\)...HEAD:[Unreleased]\1${version}...HEAD\n[${version}]\1\2...v${version}:" \
78+
# CHANGELOG.md
79+
#
80+
#sed -i \
81+
# -e "s:^version = \".*\":version = \"${version}\":" \
82+
# -e "s:^\(pineappl = .*\)version = \".*\":\1version = \"${version}\":" \
83+
# pineappl{,_capi,_cli,_py}/Cargo.toml
84+
#
85+
#echo ">>> Commiting and pushing changes ..."
8686

8787
git commit -a -m "Release v${version}"
8888
git tag -a v${version} -m v${version}

pineappl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pineappl"
3-
version = "0.5.7"
3+
version = "0.5.8"
44
authors = ["Christopher Schwan <handgranaten-herbert@posteo.de>"]
55
edition = "2021"
66
license = "GPL-3.0-or-later"

pineappl_capi/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pineappl_capi"
3-
version = "0.5.7"
3+
version = "0.5.8"
44
authors = ["Christopher Schwan <handgranaten-herbert@posteo.de>"]
55
edition = "2021"
66
license = "GPL-3.0-or-later"
@@ -12,7 +12,7 @@ description = "C language interface to PineAPPL"
1212
rust-version = "1.56.1"
1313

1414
[dependencies]
15-
pineappl = { path = "../pineappl", version = "0.5.7" }
15+
pineappl = { path = "../pineappl", version = "0.5.8" }
1616
itertools = "0.10.1"
1717

1818
[features]

pineappl_cli/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pineappl_cli"
3-
version = "0.5.7"
3+
version = "0.5.8"
44
authors = ["Christopher Schwan <handgranaten-herbert@posteo.de>"]
55
edition = "2021"
66
license = "GPL-3.0-or-later"
@@ -24,7 +24,7 @@ lz4_flex = { optional = true, version = "0.9.2" }
2424
ndarray = "0.15.4"
2525
ndarray-npy = { optional = true, version = "0.8.1" }
2626
num_cpus = "1.13.0"
27-
pineappl = { path = "../pineappl", version = "0.5.7" }
27+
pineappl = { path = "../pineappl", version = "0.5.8" }
2828
pineappl_applgrid = { optional = true, path = "../pineappl_applgrid", version = "0.2.0" }
2929
pineappl_fastnlo = { optional = true, path = "../pineappl_fastnlo", version = "0.2.0" }
3030
prettytable-rs = { default-features = false, features = ["win_crlf"], version = "0.8.0" }

pineappl_py/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pineappl_py"
3-
version = "0.5.7"
3+
version = "0.5.8"
44
authors = [
55
"Christopher Schwan <handgranaten-herbert@posteo.de>",
66
"Alessandro Candido <candido.ale@gmail.com>",
@@ -26,5 +26,5 @@ crate-type = ["cdylib"]
2626
itertools = "0.9"
2727
ndarray = "0.15.3"
2828
numpy = "0.16.2"
29-
pineappl = { path = "../pineappl", version = "0.5.7" }
29+
pineappl = { path = "../pineappl", version = "0.5.8" }
3030
pyo3 = { features = ["extension-module"], version = "0.16.4" }

0 commit comments

Comments
 (0)