Skip to content

Commit

Permalink
Prepare v1.0.0-beta.9 re-release
Browse files Browse the repository at this point in the history
Signed-off-by: aeneasr <aeneas@ory.sh>
  • Loading branch information
aeneasr committed Nov 14, 2018
1 parent f359d08 commit f7a92f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions .circleci/config.yml
Expand Up @@ -78,15 +78,11 @@ jobs:
- setup_remote_docker:
version: 17.10.0-ce
# Build and push docker image
- run: docker build --build-arg git_tag=$(git describe --tags) --build-arg git_commit=$(git rev-parse HEAD) -f Dockerfile -t oryd/hydra:$CIRCLE_TAG .
- run: docker build --build-arg git_tag=$(git describe --tags) --build-arg git_commit=$(git rev-parse HEAD) -f Dockerfile-alpine -t oryd/hydra:$CIRCLE_TAG-alpine .
- run: docker tag oryd/hydra:$CIRCLE_TAG oryd/hydra:latest
- run: docker tag oryd/hydra:$CIRCLE_TAG-alpine oryd/hydra:latest-alpine
- run: docker build --build-arg git_tag=$(git describe --tags) --build-arg git_commit=$(git rev-parse HEAD) -f Dockerfile -t oryd/hydra:$(echo $CIRCLE_TAG | tr '+' '_') .
- run: docker build --build-arg git_tag=$(git describe --tags) --build-arg git_commit=$(git rev-parse HEAD) -f Dockerfile-alpine -t oryd/hydra:$(echo $CIRCLE_TAG | tr '+' '_')-alpine .
- run: docker login --username "$DOCKER_USERNAME" --password "$DOCKER_PASSWORD"
- run: docker push oryd/hydra:$CIRCLE_TAG
- run: docker push oryd/hydra:$CIRCLE_TAG-alpine
- run: docker push oryd/hydra:latest-alpine
- run: docker push oryd/hydra:latest-alpine
- run: docker push oryd/hydra:$(echo $CIRCLE_TAG | tr '+' '_')
- run: docker push oryd/hydra:$(echo $CIRCLE_TAG | tr '+' '_')-alpine

release-npm:
docker:
Expand All @@ -97,9 +93,7 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- run: |
npm version -f --no-git-tag-version $CIRCLE_TAG
- run: npm view ory-hydra-sdk
- run: npm whoami
- run: npm publish
- run: npm publish --access public

release-binaries:
docker:
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,5 +1,5 @@
{
"name": "ory-hydra-sdk",
"name": "@oryd/hydra",
"version": "0.0.0",
"description": "The official JavaScript / NodeJS SDK for ORY Hydra.",
"license": "Apache-2.0",
Expand Down

0 comments on commit f7a92f6

Please sign in to comment.