Commit b34f70a1 authored by Dominik Charousset's avatar Dominik Charousset

Change version to 0.18.2

parent acf91eb2
......@@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file. The format
is based on [Keep a Changelog](https://keepachangelog.com).
## [Unreleased]
## [0.18.2] - 2021-03-26
### Added
......@@ -661,7 +661,8 @@ is based on [Keep a Changelog](https://keepachangelog.com).
- Setting the log level to `quiet` now properly suppresses any log output.
- Configuring colored terminal output should now print colored output.
[Unreleased]: https://github.com/actor-framework/actor-framework/compare/0.18.0...master
[Unreleased]: https://github.com/actor-framework/actor-framework/compare/0.18.2...master
[0.18.2]: https://github.com/actor-framework/actor-framework/releases/0.18.2
[0.18.1]: https://github.com/actor-framework/actor-framework/releases/0.18.1
[0.18.0]: https://github.com/actor-framework/actor-framework/releases/0.18.0
[0.18.0-rc.1]: https://github.com/actor-framework/actor-framework/releases/0.18.0-rc.1
......
......@@ -22,7 +22,7 @@
/// Denotes version of CAF in the format {MAJOR}{MINOR}{PATCH},
/// whereas each number is a two-digit decimal number without
/// leading zeros (e.g. 900 is version 0.9.0).
#define CAF_VERSION 1801
#define CAF_VERSION 1802
/// Defined to the major version number of CAF.
#define CAF_MAJOR_VERSION (CAF_VERSION / 10000)
......
......@@ -131,7 +131,6 @@ fi
# assumed files
token_path="$HOME/.github-oauth-token"
blog_msg="blog_release_note.md"
github_msg="github_release_note.md"
config_hpp_path="libcaf_core/caf/config.hpp"
......@@ -139,7 +138,7 @@ config_hpp_path="libcaf_core/caf/config.hpp"
blog_posts_path="../blog/_posts"
# check whether all expected files and directories exist
assert_exists "$token_path" "$config_hpp_path" "$github_msg"
assert_exists "$token_path" "$config_hpp_path"
# check for a clean state
assert_exists_not .make-release-steps.bash
......@@ -159,19 +158,16 @@ if [ -n "$rc_version" ]; then
tag_version="$tag_version-rc.$rc_version"
fi
if [ ! -f "$blog_msg" ]; then
ask_permission "$blog_msg missing, continue without blog post [y] or abort [n]?"
# extract the release notes from the changelog
sed -n "/^## \[$tag_version\]*/,/^##[^#]/p" CHANGELOG.md | sed '$d' > "$github_msg"
if [[ -s "$github_msg" ]] ; then
echo ">>> please review the GitHub release notes as extracted from the changelog"
cat "$github_msg"
echo ; echo
ask_permission "type [n] to abort or [y] to proceed"
else
# target files
assert_exists "$blog_posts_path"
if [ -z "$rc_version" ]; then
blog_release_version="$1"
else
blog_release_version="$1-rc.$rc_version"
fi
blog_target_file="$blog_posts_path/$(date +%F)-version-$tag_version-released.md"
assert_exists_not "$blog_target_file"
assert_git_status_clean "../blog/"
raise_error 'empty GitHub release notes'
fi
# add scaffold for release script
......@@ -211,7 +207,7 @@ echo "\
git push
git tag $tag_version
git push origin --tags
curl --data '$github_json' https://api.github.com/repos/actor-framework/actor-framework/releases?access_token=$token
curl --data '$github_json' -H 'Authorization: token $token' https://api.github.com/repos/actor-framework/actor-framework/releases
" >> .make-release-steps.bash
if [ -z "$rc_version" ]; then
......@@ -224,17 +220,6 @@ brew bump-formula-pr --message=\"Update CAF to version $tag_version\" --url=\"$f
fi
fi
if [ -f "$blog_msg" ]; then
echo "\
cp "$blog_msg" "$blog_target_file"
cd ../blog
git add _posts
git commit -m \"$tag_version announcement\"
git push
cd "$anchor"
" >> .make-release-steps.bash
fi
echo ; echo
echo ">>> please review the final steps for releasing $tag_version "
cat .make-release-steps.bash
......@@ -247,9 +232,6 @@ chmod +x .make-release-steps.bash
echo ; echo
echo ">>> cleaning up"
rm "$github_msg" .make-release-steps.bash
if [ -f "$blog_msg" ]; then
rm "$blog_msg"
fi
echo ; echo
echo ">>> done"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment