Skip to content

Commit e1ec942

Browse files
committed
Merge branch 'main' of github.com:cucumber/cucumber-jvm-groovy into main
2 parents a7ca82e + 0d4c4cd commit e1ec942

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Makefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ update-changelog:
4949
git push
5050
.PHONY: .commit-and-push-changelog
5151

52-
.release-in-docker: default update-changelog .commit-and-push-changelog
53-
[ -f '/home/cukebot/import-gpg-key.sh' ] && /home/cukebot/import-gpg-key.sh
52+
.configure-cukebot-in-docker:
53+
[ -f '/home/cukebot/configure' ] && /home/cukebot/configure
54+
.PHONY: .configure-cukebot-in-docker
55+
56+
.release-in-docker: .configure-cukebot-in-docker default update-changelog .commit-and-push-changelog
5457
mvn --batch-mode release:clean release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true -DskipITs=true -Darchetype.test.skip=true"
5558
git checkout "v$(NEW_VERSION)"
5659
mvn deploy -P-examples -P-compatibility -Psign-source-javadoc -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
@@ -65,12 +68,12 @@ release:
6568
docker pull cucumber/cucumber-build:latest
6669
docker run \
6770
--volume "${shell pwd}":/app \
68-
--volume "${shell pwd}/../secrets/import-gpg-key.sh":/home/cukebot/import-gpg-key.sh \
71+
--volume "${shell pwd}/../secrets/configure":/home/cukebot/configure \
6972
--volume "${shell pwd}/../secrets/codesigning.key":/home/cukebot/codesigning.key \
73+
--volume "${shell pwd}/../secrets/gpg-with-passphrase":/home/cukebot/gpg-with-passphrase \
7074
--volume "${shell pwd}/../secrets/.ssh":/home/cukebot/.ssh \
7175
--volume "${HOME}/.m2/repository":/home/cukebot/.m2/repository \
72-
--volume "${HOME}/.gitconfig":/home/cukebot/.gitconfig \
73-
--env-file ../secrets/secrets.list \
76+
--env-file "${shell pwd}/../secrets/secrets.list" \
7477
--user 1000 \
7578
--rm \
7679
-it cucumber/cucumber-build:latest \

0 commit comments

Comments
 (0)