Skip to content

added missing import #17

added missing import

added missing import #17

##############################################################################################
#
# This Workflow is responsible for updating the latest build version of the project.
# You can provide your own base branch, tag, or SHA for git operations and the pull request.
# and it will generate the latest build version & update the neccessary files for you.
#
##############################################################################################
name: Update Latest Build Version
on:
workflow_dispatch:
inputs:
base-branch:
description: 'The base branch, tag, or SHA for git operations and the pull request.'
required: true
jobs:
bump-version:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ inputs.base-branch }}
token: ${{ secrets.PR_TOKEN }}
- uses: MetaMask/metamask-mobile-build-version/.github/workflows/[email protected]
id: build-version-generator
- name: Bump script
env:
HEAD_REF: ${{ github.head_ref }}
run: |
./scripts/set-build-version.sh ${{ steps.build-version-generator.outputs.version-number }}
git diff
git config user.name metamaskbot
git config user.email [email protected]
git add bitrise.yml
git add package.json
git add ios/MetaMask.xcodeproj/project.pbxproj
git add android/app/build.gradle
git commit -m "Bump version number to ${{ steps.build-version-generator.outputs.version-number }}"
git push origin HEAD:"$HEAD_REF" --force