Skip to content

Commit

Permalink
Update Makefile with secrets
Browse files Browse the repository at this point in the history
Closes: #2234
  • Loading branch information
mpkorstanje committed Feb 14, 2021
1 parent c4f81bb commit f72a280
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ update-changelog:
.PHONY: .commit-and-push-changelog

.release-in-docker: default update-changelog .commit-and-push-changelog
[ -f '/home/cukebot/import-gpg-key.sh' ] && /home/cukebot/import-gpg-key.sh
[ -f '/home/cukebot/configure' ] && /home/cukebot/configure
mvn --batch-mode release:clean release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true -DskipITs=true -Darchetype.test.skip=true"
git checkout "v$(NEW_VERSION)"
mvn deploy -P-examples -P-compatibility -Psign-source-javadoc -DskipTests=true -DskipITs=true -Darchetype.test.skip=true
Expand All @@ -65,12 +65,12 @@ release:
docker pull cucumber/cucumber-build:latest
docker run \
--volume "${shell pwd}":/app \
--volume "${shell pwd}/../secrets/import-gpg-key.sh":/home/cukebot/import-gpg-key.sh \
--volume "${shell pwd}/../secrets/configure":/home/cukebot/configure \
--volume "${shell pwd}/../secrets/codesigning.key":/home/cukebot/codesigning.key \
--volume "${shell pwd}/../secrets/gpg-with-passphrase":/home/cukebot/gpg-with-passphrase \
--volume "${shell pwd}/../secrets/.ssh":/home/cukebot/.ssh \
--volume "${HOME}/.m2/repository":/home/cukebot/.m2/repository \
--volume "${HOME}/.gitconfig":/home/cukebot/.gitconfig \
--env-file ../secrets/secrets.list \
--env-file "${shell pwd}/../secrets/secrets.list" \
--user 1000 \
--rm \
-it cucumber/cucumber-build:latest \
Expand Down

0 comments on commit f72a280

Please sign in to comment.