This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| signingConfigs { | |
| release { | |
| keyAlias keystoreProperties['keyAlias'] | |
| keyPassword keystoreProperties['keyPassword'] | |
| storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null | |
| storePassword keystoreProperties['storePassword'] | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def keystoreProperties = new Properties() | |
| def keystorePropertiesFile = rootProject.file('key.properties') | |
| if (keystorePropertiesFile.exists()) { | |
| keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| storePassword=#{KEYSTORE_PASS}# | |
| keyPassword=#{KEYSTORE_KEY_PASS}# | |
| keyAlias=uploadkey | |
| storeFile=./key1.jks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .\keytool.exe -genkey -v -keystore .\key1.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias uploadkey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Demo App Android Release | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| version: | |
| name: Create version number | |
| runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build: | |
| name: Build APK and Create release | |
| needs: [ version ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: '12.x' | |
| - uses: subosito/flutter-action@v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jobs: | |
| version: | |
| name: Create version number | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Fetch all history for all tags and branches | |
| run: | | |
| git fetch --prune --depth=10000 | |
| - name: Install GitVersion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Demo App Android Release | |
| on: | |
| push: | |
| branches: [ master ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Docker | |
| # Build, push an image to Azure Container Registry and Deploy to Web App | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/docker | |
| trigger: | |
| - master | |
| resources: | |
| - repo: self |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # build stage | |
| FROM node:12.2.0-alpine as build | |
| WORKDIR /app | |
| ENV PATH /app/node_modules/.bin:$PATH | |
| COPY package.json /app/package.json | |
| RUN npm install --silent | |
| COPY . /app | |
| RUN npm run build | |
| # final stage |