Skip to content

Commit

Permalink
Improve release process
Browse files Browse the repository at this point in the history
  • Loading branch information
cbliard committed Aug 19, 2020
1 parent f4fcc89 commit 57df461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ help us to correct style violations reported here:
* Now release it:

```
git commit -m "Release X.Y.Z"
git commit -am "Release X.Y.Z"
make release
```
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ release:
--volume "${shell pwd}/../secrets/.ssh":/home/cukebot/.ssh \
--volume "${shell pwd}/../secrets/.gem":/home/cukebot/.gem \
--volume "${HOME}/.gitconfig":/home/cukebot/.gitconfig \
--env CUCUMBER_USE_RELEASED_GEMS=1 \
--env-file ../secrets/secrets.list \
--user 1000 \
--rm \
-it cucumber/cucumber-build:latest \
bundle && bundle exec rake && bundle exec rake release
bash -c "rm Gemfile.lock && bundle && bundle exec rake && bundle exec rake release"
.PHONY: release

0 comments on commit 57df461

Please sign in to comment.