Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,20 @@ jobs:
- run: npm version from-git
- run: yarn build
- run: |
if [ $CIRCLE_TAG = *beta* ] ; then
if [[ "$CIRCLE_TAG" == *beta* ]] ; then
npm publish --tag beta
elif [ $CIRCLE_TAG = *alpha* ] ; then
elif [[ "$CIRCLE_TAG" == *alpha* ]] ; then
npm publish --tag alpha
else
npm publish
fi
- run: yarn build.binary
- run: "docker build -t stoplight/spectral:${CIRCLE_TAG} -t stoplight/spectral:latest --build-arg EG_VERSION=latest ."
- run: docker build -t stoplight/spectral:${CIRCLE_TAG} -t stoplight/spectral:latest
- run: docker push stoplight/spectral:${CIRCLE_TAG}
- run: |
if [ $CIRCLE_TAG = *beta* ] ; then
if [[ "$CIRCLE_TAG" == *beta* ]] ; then
docker push stoplight/spectral:beta
elif [ $CIRCLE_TAG = *alpha* ] ; then
elif [[ "$CIRCLE_TAG" == *alpha* ]] ; then
docker push stoplight/spectral:alpha
else
docker push stoplight/spectral:latest
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
]
},
"files": [
"bin/*",
"dist/*",
"oclif.manifest.json"
],
Expand Down