File tree 1 file changed +21
-2
lines changed
1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,30 @@ update-changelog:
46
46
git push
47
47
.PHONY : .commit-and-push-changelog
48
48
49
- release : default update-changelog .commit-and-push-changelog
49
+ .release-in-docker : default update-changelog .commit-and-push-changelog
50
+ [ -f ' /home/cukebot/import-gpg-key.sh' ] && /home/cukebot/import-gpg-key.sh
50
51
mvn --batch-mode release:clean release:prepare -DautoVersionSubmodules=true -Darguments=" -DskipTests=true -DskipITs=true -Darchetype.test.skip=true"
51
52
git checkout " v$( NEW_VERSION) "
52
53
mvn deploy -P-examples -P-compatibility -Psign-source-javadoc -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
53
54
git checkout $(CURRENT_BRANCH )
54
55
git fetch
55
- .PHONY : release
56
+ .PHONY : . release-in-docker
56
57
58
+ release :
59
+ [ -d ' ../secrets' ] || git clone keybase://team/cucumberbdd/secrets ../secrets
60
+ git -C ../secrets pull
61
+ docker run \
62
+ --volume " ${shell pwd} " :/app \
63
+ --volume " ${shell pwd} /../secrets/import-gpg-key.sh" :/home/cukebot/import-gpg-key.sh \
64
+ --volume " ${shell pwd} /../secrets/codesigning.key" :/home/cukebot/codesigning.key \
65
+ --volume " ${shell pwd} /../secrets/.ssh" :/home/cukebot/.ssh \
66
+ --volume " ${shell pwd} /../secrets/.gem" :/home/cukebot/.gem \
67
+ --volume " ${shell pwd} /../secrets/.npmrc" :/home/cukebot/.npmrc \
68
+ --volume " ${HOME} /.m2" /repository:/home/cukebot/.m2/repository \
69
+ --volume " ${HOME} /.gitconfig" :/home/cukebot/.gitconfig \
70
+ --env-file ../secrets/secrets.list \
71
+ --user 1000 \
72
+ --rm \
73
+ -it cucumber/cucumber-build:latest \
74
+ make .release-in-docker
75
+ .PHONY : release
You can’t perform that action at this time.
0 commit comments