[ci] Roll repo tooling to 0.12.0 (#2699)

This commit is contained in:
stuartmorgan
2022-10-10 18:03:17 -04:00
committed by GitHub
parent 379420c8a6
commit a7e3410f3d
3 changed files with 4 additions and 10 deletions

View File

@ -8,4 +8,4 @@ git fetch origin main
# Pinned version of the plugin tools, to avoid breakage in this repository # Pinned version of the plugin tools, to avoid breakage in this repository
# when pushing updates from flutter/plugins. # when pushing updates from flutter/plugins.
dart pub global activate flutter_plugin_tools 0.9.2 dart pub global activate flutter_plugin_tools 0.12.0

View File

@ -126,11 +126,6 @@ task:
analyze_script: analyze_script:
- ./script/tool_runner.sh analyze --downgrade --custom-analysis=script/configs/custom_analysis.yaml - ./script/tool_runner.sh analyze --downgrade --custom-analysis=script/configs/custom_analysis.yaml
- name: publishable - name: publishable
env:
# TODO(stuartmorgan): Remove once the fix for https://github.com/dart-lang/pub/issues/3152
# rolls into Flutter master.
CHANNEL: stable
CHANGE_DESC: "/tmp/change-description.txt"
version_script: version_script:
# For pre-submit, pass the PR description to the script to allow for # For pre-submit, pass the PR description to the script to allow for
# version check overrides. # version check overrides.
@ -141,8 +136,7 @@ task:
- if [[ $CIRRUS_PR == "" ]]; then - if [[ $CIRRUS_PR == "" ]]; then
- ./script/tool_runner.sh version-check - ./script/tool_runner.sh version-check
- else - else
- echo "$CIRRUS_CHANGE_MESSAGE" > "$CHANGE_DESC" - ./script/tool_runner.sh version-check --check-for-missing-changes --pr-labels="$CIRRUS_PR_LABELS"
- ./script/tool_runner.sh version-check --check-for-missing-changes --change-description-file="$CHANGE_DESC" --pr-labels="$CIRRUS_PR_LABELS"
- fi - fi
publishable_script: ./script/tool_runner.sh publish-check --allow-pre-release publishable_script: ./script/tool_runner.sh publish-check --allow-pre-release
depends_on: depends_on:

View File

@ -31,7 +31,7 @@ jobs:
with: with:
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version. fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
- name: Set up tools - name: Set up tools
run: dart pub global activate flutter_plugin_tools 0.9.2 run: dart pub global activate flutter_plugin_tools 0.12.0
# # This workflow should be the last to run. So wait for all the other tests to succeed. # # This workflow should be the last to run. So wait for all the other tests to succeed.
- name: Wait on all tests - name: Wait on all tests
@ -47,6 +47,6 @@ jobs:
run: | run: |
git config --global user.name ${{ secrets.USER_NAME }} git config --global user.name ${{ secrets.USER_NAME }}
git config --global user.email ${{ secrets.USER_EMAIL }} git config --global user.email ${{ secrets.USER_EMAIL }}
dart pub global run flutter_plugin_tools publish-plugin --all-changed --base-sha=HEAD~ --skip-confirmation --remote=origin dart pub global run flutter_plugin_tools publish --all-changed --base-sha=HEAD~ --skip-confirmation --remote=origin
env: {PUB_CREDENTIALS: "${{ secrets.PUB_CREDENTIALS }}"} env: {PUB_CREDENTIALS: "${{ secrets.PUB_CREDENTIALS }}"}