Run tests in Docker:
docker build . -f spec/Dockerfile -t amqproxy_spec
docker run --rm -it -v $(pwd):/app -w /app --entrypoint bash amqproxy_spec
# ensure rabbitmq is up, run all specs
./entrypoint.sh
# run single spec
crystal spec --example "keeps connections open"Run tests using Docker Compose:
./run-specs-in-docker.sh- Make a commit that
- updates
CHANGELOG.md - bumps version in
shard.yml
- updates
- Create and push an annotated tag:
git tag -a v$(shards version)- Put the changelog of the version in the tagging message
- NOTE: Only the
bodywill be shown in release notes. (The first line in the message is thesubjectfollowed by an empty line, then thebodyon the next line.)