File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,29 @@ update-changelog:
5151 git push
5252.PHONY : .commit-and-push-changelog
5353
54- release : default update-changelog update-installdoc .commit-and-push-changelog-and-docs
54+ . release-in-docker : default update-changelog update-installdoc .commit-and-push-changelog-and-docs
5555 mvn --batch-mode release:clean release:prepare -DautoVersionSubmodules=true -Darguments=" -DskipTests=true -DskipITs=true -Darchetype.test.skip=true"
5656 git checkout " v$( NEW_VERSION) "
5757 mvn deploy -P-examples -P-compatibility -Psign-source-javadoc -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
5858 git checkout $(CURRENT_BRANCH )
5959 git fetch
60- .PHONY : release
60+ .PHONY : release-in-docker
6161
62+ release :
63+ [ -d ' ../secrets' ] || git clone keybase://team/cucumberbdd/secrets ../secrets
64+ git -C ../secrets pull
65+ docker run \
66+ --volume " ${shell pwd} " :/app \
67+ --volume " ${shell pwd} /../secrets/import-gpg-key.sh" :/home/cukebot/import-gpg-key.sh \
68+ --volume " ${shell pwd} /../secrets/codesigning.key" :/home/cukebot/codesigning.key \
69+ --volume " ${shell pwd} /../secrets/.ssh" :/home/cukebot/.ssh \
70+ --volume " ${shell pwd} /../secrets/.gem" :/home/cukebot/.gem \
71+ --volume " ${shell pwd} /../secrets/.npmrc" :/home/cukebot/.npmrc \
72+ --volume " ${HOME} /.m2" /repository:/home/cukebot/.m2/repository \
73+ --volume " ${HOME} /.gitconfig" :/home/cukebot/.gitconfig \
74+ --env-file ../secrets/secrets.list \
75+ --user 1000 \
76+ --rm \
77+ -it cucumber/cucumber-build:latest \
78+ make .release-in-docker
79+ .PHONY : release
You can’t perform that action at this time.
0 commit comments