Loading .github/workflows/build-images.yaml +31 −31 Original line number Diff line number Diff line Loading @@ -148,6 +148,36 @@ jobs: fi fi - name: Create issue ${{ env.VERSION }} if: "${{ env.NEW_VERSION != '' }}" shell: bash run: | GH=../../gh_2.18.1_linux_amd64/bin/gh wget https://github.com/cli/cli/releases/download/v2.18.1/gh_2.18.1_linux_amd64.tar.gz tar xfz gh_2.18.1_linux_amd64.tar.gz cd cromite/tools echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token echo Custom Release $CHR_VERSION >body.txt if [[ "$LATEST_WIN" == "$CHR_VERSION" ]]; then echo Using Windows Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=10&offset=0' | \ jq --arg LATEST "$LATEST_WIN" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi if [[ "$LATEST_ANDROID" == "$CHR_VERSION" ]]; then echo Using Android Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Android&num=10&offset=0' | \ jq --arg LATEST "$LATEST_ANDROID" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi $GH issue create -t "$CHR_VERSION: new chromium version" -F body.txt - name: Update files under control shell: bash run: | Loading Loading @@ -197,33 +227,3 @@ jobs: body: ${{ env.MESSAGE }} delete-branch: true branch-suffix: short-commit-hash No newline at end of file - name: Create issue ${{ env.VERSION }} if: "${{ env.NEW_VERSION != '' }}" shell: bash run: | GH=../../gh_2.18.1_linux_amd64/bin/gh wget https://github.com/cli/cli/releases/download/v2.18.1/gh_2.18.1_linux_amd64.tar.gz tar xfz gh_2.18.1_linux_amd64.tar.gz cd cromite/tools echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token echo Custom Release $CHR_VERSION >body.txt if [[ "$LATEST_WIN" == "$CHR_VERSION" ]]; then echo Using Windows Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=10&offset=0' | \ jq --arg LATEST "$LATEST_WIN" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi if [[ "$LATEST_ANDROID" == "$CHR_VERSION" ]]; then echo Using Android Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Android&num=10&offset=0' | \ jq --arg LATEST "$LATEST_ANDROID" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi $GH issue create -t "$CHR_VERSION: new chromium version" -F body.txt Loading
.github/workflows/build-images.yaml +31 −31 Original line number Diff line number Diff line Loading @@ -148,6 +148,36 @@ jobs: fi fi - name: Create issue ${{ env.VERSION }} if: "${{ env.NEW_VERSION != '' }}" shell: bash run: | GH=../../gh_2.18.1_linux_amd64/bin/gh wget https://github.com/cli/cli/releases/download/v2.18.1/gh_2.18.1_linux_amd64.tar.gz tar xfz gh_2.18.1_linux_amd64.tar.gz cd cromite/tools echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token echo Custom Release $CHR_VERSION >body.txt if [[ "$LATEST_WIN" == "$CHR_VERSION" ]]; then echo Using Windows Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=10&offset=0' | \ jq --arg LATEST "$LATEST_WIN" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi if [[ "$LATEST_ANDROID" == "$CHR_VERSION" ]]; then echo Using Android Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Android&num=10&offset=0' | \ jq --arg LATEST "$LATEST_ANDROID" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi $GH issue create -t "$CHR_VERSION: new chromium version" -F body.txt - name: Update files under control shell: bash run: | Loading Loading @@ -197,33 +227,3 @@ jobs: body: ${{ env.MESSAGE }} delete-branch: true branch-suffix: short-commit-hash No newline at end of file - name: Create issue ${{ env.VERSION }} if: "${{ env.NEW_VERSION != '' }}" shell: bash run: | GH=../../gh_2.18.1_linux_amd64/bin/gh wget https://github.com/cli/cli/releases/download/v2.18.1/gh_2.18.1_linux_amd64.tar.gz tar xfz gh_2.18.1_linux_amd64.tar.gz cd cromite/tools echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token echo Custom Release $CHR_VERSION >body.txt if [[ "$LATEST_WIN" == "$CHR_VERSION" ]]; then echo Using Windows Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=10&offset=0' | \ jq --arg LATEST "$LATEST_WIN" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi if [[ "$LATEST_ANDROID" == "$CHR_VERSION" ]]; then echo Using Android Release >body.txt echo "\`\`\`" >>body.txt curl -s 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Android&num=10&offset=0' | \ jq --arg LATEST "$LATEST_ANDROID" '.[] | select( .version == $LATEST )' >>body.txt echo "\`\`\`" >>body.txt fi $GH issue create -t "$CHR_VERSION: new chromium version" -F body.txt