Skip to content

Commit 5fb4daa

Browse files
authored
chore: v2.0.0 (#2160)
1 parent 6f6a3f0 commit 5fb4daa

File tree

5 files changed

+48
-44
lines changed

5 files changed

+48
-44
lines changed

.github/workflows/main.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,46 @@ on:
33
release:
44
types: [published]
55
jobs:
6-
push_to_registry:
7-
name: Push Docker image to GitHub Packages
8-
runs-on: ubuntu-latest
9-
permissions:
10-
packages: write
11-
contents: read
12-
steps:
13-
- name: Check out the repo
14-
uses: actions/checkout@v3
15-
- name: Login to GitHub Container Registry
16-
uses: docker/login-action@v1
17-
with:
18-
registry: ghcr.io
19-
username: ${{ github.repository_owner }}
20-
password: ${{ secrets.GITHUB_TOKEN }}
21-
- name: Prepare
22-
id: prep
23-
run: |
24-
DOCKER_IMAGE=ghcr.io/redocly/redoc/cli
25-
VERSION=edge
26-
if [[ $GITHUB_REF == refs/tags/* ]]; then
27-
VERSION=${GITHUB_REF#refs/tags/}
28-
elif [[ $GITHUB_REF == refs/heads/* ]]; then
29-
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
30-
elif [[ $GITHUB_REF == refs/pull/* ]]; then
31-
VERSION=pr-${{ github.event.number }}
32-
fi
33-
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:latest"
34-
if [ "${{ github.event_name }}" = "push" ]; then
35-
TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
36-
fi
37-
echo ::set-output name=version::${VERSION}
38-
echo ::set-output name=tags::${TAGS}
39-
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
40-
- name: Push to GitHub Packages
41-
uses: docker/build-push-action@v3
42-
with:
43-
context: ./cli
44-
push: ${{ github.event_name != 'pull_request' }}
45-
tags: ${{ steps.prep.outputs.tags }}
6+
# push_to_registry:
7+
# name: Push Docker image to GitHub Packages
8+
# runs-on: ubuntu-latest
9+
# permissions:
10+
# packages: write
11+
# contents: read
12+
# steps:
13+
# - name: Check out the repo
14+
# uses: actions/checkout@v3
15+
# - name: Login to GitHub Container Registry
16+
# uses: docker/login-action@v1
17+
# with:
18+
# registry: ghcr.io
19+
# username: ${{ github.repository_owner }}
20+
# password: ${{ secrets.GITHUB_TOKEN }}
21+
# - name: Prepare
22+
# id: prep
23+
# run: |
24+
# DOCKER_IMAGE=ghcr.io/redocly/redoc/cli
25+
# VERSION=edge
26+
# if [[ $GITHUB_REF == refs/tags/* ]]; then
27+
# VERSION=${GITHUB_REF#refs/tags/}
28+
# elif [[ $GITHUB_REF == refs/heads/* ]]; then
29+
# VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
30+
# elif [[ $GITHUB_REF == refs/pull/* ]]; then
31+
# VERSION=pr-${{ github.event.number }}
32+
# fi
33+
# TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:latest"
34+
# if [ "${{ github.event_name }}" = "push" ]; then
35+
# TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
36+
# fi
37+
# echo ::set-output name=version::${VERSION}
38+
# echo ::set-output name=tags::${TAGS}
39+
# echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
40+
# - name: Push to GitHub Packages
41+
# uses: docker/build-push-action@v3
42+
# with:
43+
# context: ./cli
44+
# push: ${{ github.event_name != 'pull_request' }}
45+
# tags: ${{ steps.prep.outputs.tags }}
4646
dockerhub:
4747
name: Publish redoc image to DockerHub
4848
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# [2.0.0](https://github.com/Redocly/redoc/compare/v2.0.0-rc.77...v2.0.0) (2022-09-12)
2+
3+
4+
15
# [2.0.0-rc.77](https://github.com/Redocly/redoc/compare/v2.0.0-rc.76...v2.0.0-rc.77) (2022-09-06)
26

37

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Generate interactive API documentation from OpenAPI definitions
55

6-
[![Build Status](https://travis-ci.com/Redocly/redoc.svg?branch=main)](https://travis-ci.com/Redocly/redoc) [![Coverage Status](https://coveralls.io/repos/Redocly/redoc/badge.svg?branch=main&service=github)](https://coveralls.io/github/Redocly/redoc?branch=main) [![npm](http://img.shields.io/npm/v/redoc.svg)](https://www.npmjs.com/package/redoc) [![License](https://img.shields.io/npm/l/redoc.svg)](https://github.com/Redocly/redoc/blob/main/LICENSE)
6+
[![Coverage Status](https://coveralls.io/repos/Redocly/redoc/badge.svg?branch=main&service=github)](https://coveralls.io/github/Redocly/redoc?branch=main) [![npm](http://img.shields.io/npm/v/redoc.svg)](https://www.npmjs.com/package/redoc) [![License](https://img.shields.io/npm/l/redoc.svg)](https://github.com/Redocly/redoc/blob/main/LICENSE)
77

88
[![bundle size](http://img.badgesize.io/https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js?compression=gzip&max=300000)](https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js) [![npm](https://img.shields.io/npm/dm/redoc.svg)](https://www.npmjs.com/package/redoc) [![](https://data.jsdelivr.com/v1/package/npm/redoc/badge)](https://www.jsdelivr.com/package/npm/redoc) [![Docker Build Status](https://img.shields.io/docker/build/redocly/redoc.svg)](https://hub.docker.com/r/redocly/redoc/)
99
</div>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redoc",
3-
"version": "2.0.0-rc.77",
3+
"version": "2.0.0",
44
"description": "ReDoc",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)