diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 804ea2e..85e1e79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,10 @@ name: Release Package + on: push: branches: - main + - dev permissions: contents: read @@ -15,12 +17,12 @@ jobs: contents: write issues: write pull-requests: write + steps: - name: Checkout uses: actions/checkout@v5.0.0 with: - ref: main - fetch-depth: 0 + fetch-depth: 0 # wichtig für semantic-release, damit alle Tags vorhanden sind - name: Setup uses: ./.github/actions/setup diff --git a/README.md b/README.md index eec732e..46738aa 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ # react-native-google-maps-plus -[![npm version](https://img.shields.io/npm/v/react-native-google-maps-plus.svg)](https://www.npmjs.com/package/react-native-google-maps-plus) +[![npm version](https://img.shields.io/npm/v/react-native-google-maps-plus.svg?logo=npm&color=cb0000)](https://www.npmjs.com/package/react-native-google-maps-plus) +[![Dev Release](https://img.shields.io/npm/v/react-native-google-maps-plus/dev.svg?label=dev%20release&color=orange&logo=githubactions)](https://www.npmjs.com/package/react-native-google-maps-plus) [![Release](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml/badge.svg)](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml) -[![Issues](https://img.shields.io/github/issues/pinpong/react-native-google-maps-plus)](https://github.com/pinpong/react-native-google-maps-plus/issues) -[![License](https://img.shields.io/github/license/pinpong/react-native-google-maps-plus)](./LICENSE) -[![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/) -[![TypeScript](https://img.shields.io/badge/%3C/%3E-TypeScript-blue.svg)](https://www.typescriptlang.org/) -[![Lint](https://img.shields.io/badge/lint-eslint-green.svg)](https://eslint.org/) -[![React Native](https://img.shields.io/badge/react--native-%3E%3D0.81.0-61dafb.svg)](https://reactnative.dev/) -[![Platform: Android](https://img.shields.io/badge/platform-android-green.svg)](https://developer.android.com/) -[![Platform: iOS](https://img.shields.io/badge/platform-iOS-lightgrey.svg)](https://developer.apple.com/ios/) +[![Issues](https://img.shields.io/github/issues/pinpong/react-native-google-maps-plus?logo=github)](https://github.com/pinpong/react-native-google-maps-plus/issues) +[![License](https://img.shields.io/github/license/pinpong/react-native-google-maps-plus?logo=open-source-initiative&logoColor=green)](./LICENSE) +[![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier&logoColor=white)](https://prettier.io/) +[![TypeScript](https://img.shields.io/badge/%3C/%3E-TypeScript-blue.svg?logo=typescript)](https://www.typescriptlang.org/) +[![Lint](https://img.shields.io/badge/lint-eslint-green.svg?logo=eslint&logoColor=white)](https://eslint.org/) +[![React Native](https://img.shields.io/badge/react--native-%3E%3D0.81.0-61dafb.svg?logo=react)](https://reactnative.dev/) +[![Platform: Android](https://img.shields.io/badge/platform-android-green.svg?logo=android&logoColor=white)](https://developer.android.com/) +[![Platform: iOS](https://img.shields.io/badge/platform-iOS-lightgrey.svg?logo=apple&logoColor=black)](https://developer.apple.com/ios/) React-native wrapper for android & IOS google maps sdk diff --git a/release.config.cjs b/release.config.cjs index 119f5d8..bfb8b1b 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -15,7 +15,7 @@ const sortMap = Object.fromEntries( * @type {import('semantic-release').GlobalConfig} */ module.exports = { - branches: ['main', { name: 'next', prerelease: 'next' }], + branches: ['main', { name: 'dev', prerelease: 'dev' }], plugins: [ [ '@semantic-release/commit-analyzer',