Commit f666a344 authored by Dominik Charousset's avatar Dominik Charousset

Drop brew steps from the make_release script

The steps for updating the brew package failed for two consecutive
releases in a row with no clear indication on what went wrong.
parent bac5b8b2
......@@ -5,7 +5,6 @@ lightweight & fast actor implementations, pattern matching for messages, network
transparent messaging, and more.
[![Gitter][gitter-badge]](https://gitter.im/actor-framework/chat)
[![Jenkins][jenkins-badge]](https://jenkins.inet.haw-hamburg.de/job/CAF/job/actor-framework/job/master)
[![Documentation Status][docs-badge]](http://actor-framework.readthedocs.io/en/latest/?badge=latest)
## Online Resources
......@@ -29,16 +28,14 @@ transparent messaging, and more.
## Get CAF
We currently officially maintain only the CAF package available on
[Homebrew](https://formulae.brew.sh/formula/caf).
More package managers are supported by community members:
We do not officially maintain packages for CAF. However, some of our community
members made packages available for these package managers:
- [Conan](https://conan.io/center/caf)
- [FreeBSD Ports](https://svnweb.freebsd.org/ports/head/devel/caf)
- [Homebrew](https://formulae.brew.sh/formula/caf).
- [VCPKG](https://github.com/microsoft/vcpkg/tree/master/ports/caf)
## Get the Sources
```sh
......@@ -157,16 +154,6 @@ If you use CAF in a scientific context, please use one of the following citation
You can find the papers online at http://dx.doi.org/10.1145/2541329.2541336 and
http://dx.doi.org/10.1016/j.cl.2016.01.002.
[obs]: https://software.opensuse.org/download.html?project=devel%3Alibraries%3Acaf&package=caf
[obs-nightly]: https://software.opensuse.org/download.html?project=devel%3Alibraries%3Acaf%3Anightly&package=caf
[obs-dev]: https://software.opensuse.org/download.html?project=devel%3Alibraries%3Acaf&package=caf-devel
[obs-dev-nightly]: https://software.opensuse.org/download.html?project=devel%3Alibraries%3Acaf%3Anightly&package=caf-devel
[jenkins-badge]: https://jenkins.inet.haw-hamburg.de/buildStatus/icon?job=CAF/actor-framework/master
[docs-badge]: https://readthedocs.org/projects/actor-framework/badge/?version=latest
[gitter-badge]: https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg
......@@ -105,22 +105,19 @@ echo "\
| |___ / ___ \| _| Framework
\____/_/ \_|_|
This script expects to run at the root directory of a Git clone of CAF.
The current repository must be master. There must be no untracked file
and the working tree status must be equal to the current HEAD commit.
Further, the script expects a release_note.md file in the current directory
with the developer blog checked out one level above, i.e.:
This script expects to run at the root directory of a Git clone of CAF. The
current branch must be master. There must be no untracked file and the working
tree status must be equal to the current HEAD commit. Further, the script
expects a checkout of the actor-framework.github.io repository at ../website:
\$HOME
├── .github-oauth-token
.
├── libcaf_io
├── blog_release_note.md [optional]
├── github_release_note.md
├── libcaf_core
..
├── blog
├── website
│   ├── _posts
"
......@@ -134,9 +131,6 @@ token_path="$HOME/.github-oauth-token"
github_msg="github_release_note.md"
config_hpp_path="libcaf_core/caf/config.hpp"
# assumed directories
blog_posts_path="../blog/_posts"
# check whether all expected files and directories exist
assert_exists "$token_path" "$config_hpp_path"
......@@ -200,9 +194,6 @@ token=$(cat "$token_path")
tag_descr=$(awk 1 ORS='\\r\\n' "$github_msg")
github_json=$(printf '{"tag_name": "%s","name": "%s","body": "%s","draft": false,"prerelease": false}' "$tag_version" "$tag_version" "$tag_descr")
# for returning to this directory after pushing blog
anchor="$PWD"
echo "\
git push
git tag $tag_version
......@@ -210,16 +201,6 @@ git push origin --tags
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
if which brew &>/dev/null ; then
file_url="https://github.com/actor-framework/actor-framework/archive/$tag_version.tar.gz"
echo "\
export HOMEBREW_GITHUB_API_TOKEN=\$(cat "$token_path")
brew bump-formula-pr --message=\"Update CAF to version $tag_version\" --url=\"$file_url\" caf
" >> .make-release-steps.bash
fi
fi
echo ; echo
echo ">>> please review the final steps for releasing $tag_version "
cat .make-release-steps.bash
......
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