Skip to content

Bump app_links from 3.5.1 to 6.2.1 in /packages/uni_app #2369

Bump app_links from 3.5.1 to 6.2.1 in /packages/uni_app

Bump app_links from 3.5.1 to 6.2.1 in /packages/uni_app #2369

on: pull_request
jobs:
app_version_integrity:
name: "Version integrity"
runs-on: ubuntu-latest
env:
APP_VERSION_PATH: "packages/uni_app/app_version.txt"
steps:
- uses: actions/checkout@v4
- name: Fetch origin target branch
run: |
git fetch origin ${{ github.base_ref }}
- name: Ensure app_version was not changed manually or was created just now
run: |
(! git cat-file -e FETCH_HEAD:${{ env.APP_VERSION_PATH }} && git cat-file -e HEAD:${{env.APP_VERSION_PATH}}) || git diff --quiet FETCH_HEAD:${{ env.APP_VERSION_PATH }} HEAD:${{ env.APP_VERSION_PATH }} || (echo "App version file was modified manually. Skipping deploy" && exit 1)