-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ana/add new release script copying fe (#479)
* add new release script copying fe * add node executor to circleci * add aliases for circleci * missed one alias
- Loading branch information
1 parent
fd10ec3
commit ce336f5
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
version: 2.1 | ||
|
||
# Here we define all the paths and versions of images we want to play with | ||
aliases: | ||
# Define paths and never think about them again | ||
- &WORKSPACE /tmp/voyager | ||
# Pick docker versions here only, then use the aliases in the executors definition | ||
- &docker-node circleci/node:10.15.3 | ||
|
||
# a reusable executor | ||
executors: | ||
node: | ||
docker: | ||
- image: *docker-node | ||
working_directory: *WORKSPACE | ||
|
||
jobs: | ||
build: | ||
docker: | ||
|
@@ -18,3 +33,22 @@ jobs: | |
- run: | ||
name: Test | ||
command: yarn test | ||
|
||
# Create release. | ||
release: | ||
executor: node | ||
steps: | ||
- checkout | ||
- run: | | ||
yarn add simsala | ||
git config user.email "[email protected]" | ||
git config user.name "Release Lunie Bot" | ||
node node_modules/simsala/src/cli.js release-candidate --semver patch --pending-path ./changes --owner luniehq --repository lunie --token $GIT_BOT_TOKEN --message "Please manually test before merging this to master" | ||
workflows: | ||
releaseManually: | ||
jobs: | ||
- release: | ||
filters: | ||
branches: | ||
only: release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters