Skip to content

fix: dynamically update changelog on dashboard #1404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
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
30 changes: 25 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,22 +401,33 @@ jobs:
prepare_steps:
type: steps
default: []
api_endpoint:
type: string
dashboard_token_env:
type: string
working_directory: ~/project
executor:
name: node/default
steps:
- advanced-checkout/shallow-checkout
- run: git clone [email protected]:Instabug/Escape.git
- run:
working_directory: Escape
command: swift build -c release
- run:
working_directory: Escape/.build/release
command: cp -f Escape /usr/local/bin/escape
- steps: << parameters.prepare_steps >>
- install_node_modules
- run:
name: Build the SDK
command: yarn build
- run:
name: Authorize with NPM
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- run:
name: Publish new enterprise version
command: npm publish
name: Publish Custom Package with Escape
command: Escape react-native publish-custompackage
environment:
DASHBOARD_TOKEN: << parameters.dashboard_token_env >>
DASHBOARD_API_ENDPOINT: << parameters.api_endpoint >>

publish:
macos:
Expand All @@ -438,8 +449,11 @@ jobs:
working_directory: project
command: yarn build
- run:
name: Publish Official Package with Escape
working_directory: project
command: Escape react-native publish
environment:
DASHBOARD_API_ENDPOINT: api.instabug.com
publish_new_namespace:
working_directory: ~/project
executor:
Expand Down Expand Up @@ -562,6 +576,8 @@ workflows:
npm_package: '@instabug/react-native-nn'
android_package: nn
api_endpoint: st001009nn.instabug.com
api_endpoint: st001009nn.instabug.com
dashboard_token_env: ${NN_TOKEN}

- hold_release_injazat:
requires: *release_dependencies
Expand All @@ -581,6 +597,8 @@ workflows:
npm_package: '@instabug/react-native-injazat'
android_package: injazat
api_endpoint: st001013mec1.instabug.com
api_endpoint: st001013mec1.instabug.com
dashboard_token_env: ${INJAZAT_TOKEN}

# Dream11 tests
- hold_test_dream11:
Expand Down Expand Up @@ -622,3 +640,5 @@ workflows:
only: dream11
prepare_steps:
- prepare_dream11
api_endpoint: st001012dream11.instabug.com
dashboard_token_env: ${DREAM11_TOKEN}